about.h

Go to the documentation of this file.
00001 //==============================================
00002 //  copyright            : (C) 2003-2005 by Will Stokes
00003 //==============================================
00004 //  This program is free software; you can redistribute it
00005 //  and/or modify it under the terms of the GNU General
00006 //  Public License as published by the Free Software
00007 //  Foundation; either version 2 of the License, or
00008 //  (at your option) any later version.
00009 //==============================================
00010 
00011 #ifndef GUI_DIALOGS_ABOUT_H
00012 #define GUI_DIALOGS_ABOUT_H
00013 
00014 #include <qdialog.h>
00015 #include <qhttp.h>
00016 
00017 //forward declarations
00018 class QGridLayout;
00019 class QMovie;
00020 class QPixmap;
00021 class QLabel;
00022 class QTabWidget;
00023 class QTextBrowser;
00024 class QPushButton;
00025 class QStringList;
00026 
00027 //=====================================
00030 //=====================================
00031 
00032 //======================
00033 class About : public QDialog
00034 {
00035 Q_OBJECT
00036 //----------------------
00037 public:
00038   About( int mode, QWidget *parent=0, const char* name=0);
00039   ~About();
00040 //----------------------
00041 signals:
00042 void closed();
00043 //----------------------
00044 private slots:
00045  void fileFetched(bool error);
00046  void reject();
00047 //----------------------
00048 private:
00049   void closeEvent( QCloseEvent* e);
00050 
00051   QGridLayout* grid;
00052 
00053   QMovie* albumShaperAgingImage;
00054   QLabel* albumShaperLogo;
00055 
00056   QLabel* progDesc;
00057   QLabel* progURL;
00058 
00059   QTabWidget* tabWidget;
00060 
00061   QTextBrowser* credits;
00062   QTextBrowser* history;
00063   QTextBrowser* newImprovements;
00064   QTextBrowser* upcomingFeatures;
00065 
00067   QPushButton* closeButton;
00068 
00069   QStringList* releases;
00070 
00071   //http object for getting urls
00072   QHttp http;
00073 
00074   //current get action mode
00075   int getMode;
00076 
00077   //determines which tab to be displayed by default
00078   int displayMode;
00079 //----------------------
00080 };
00081 //======================
00082 
00083 #endif //GUI_DIALOGS_ABOUT_H

Generated on Thu Jan 3 10:52:45 2008 for AlbumShaper by  doxygen 1.5.4