AlbumShaper  1.0a3
about.h
Go to the documentation of this file.
1 //==============================================
2 // copyright : (C) 2003-2005 by Will Stokes
3 //==============================================
4 // This program is free software; you can redistribute it
5 // and/or modify it under the terms of the GNU General
6 // Public License as published by the Free Software
7 // Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //==============================================
10 
11 #ifndef GUI_DIALOGS_ABOUT_H
12 #define GUI_DIALOGS_ABOUT_H
13 
14 #include <qdialog.h>
15 #include <q3http.h>
16 //Added by qt3to4:
17 #include <Q3GridLayout>
18 #include <QCloseEvent>
19 #include <QPixmap>
20 #include <QLabel>
21 
22 //forward declarations
23 class Q3GridLayout;
24 class QMovie;
25 class QPixmap;
26 class QLabel;
27 class QTabWidget;
28 class Q3TextBrowser;
29 class QPushButton;
30 class QStringList;
31 
32 //=====================================
35 //=====================================
36 
37 //======================
38 class About : public QDialog
39 {
40 Q_OBJECT
41 //----------------------
42 public:
43  About( int mode, QWidget *parent=0, const char* name=0);
44  ~About();
45 //----------------------
46 signals:
47 void closed();
48 //----------------------
49 private slots:
50  void fileFetched(bool error);
51  void reject();
52 //----------------------
53 private:
54  void closeEvent( QCloseEvent* e);
55 
56  Q3GridLayout* grid;
57 
60 
63 
64  QTabWidget* tabWidget;
65 
70 
72  QPushButton* closeButton;
73 
74  QStringList* releases;
75 
76  //http object for getting urls
77  Q3Http http;
78 
79  //current get action mode
80  int getMode;
81 
82  //determines which tab to be displayed by default
84 //----------------------
85 };
86 //======================
87 
88 #endif //GUI_DIALOGS_ABOUT_H
Q3GridLayout * grid
Definition: about.h:56
QLabel * progDesc
Definition: about.h:61
Q3TextBrowser * newImprovements
Definition: about.h:68
~About()
Definition: about.cpp:181
QLabel * progURL
Definition: about.h:62
QLabel * albumShaperLogo
Definition: about.h:59
QPushButton * closeButton
Close button.
Definition: about.h:72
About window widget.
Definition: about.h:38
int displayMode
Definition: about.h:83
void closeEvent(QCloseEvent *e)
Definition: about.cpp:404
Q3TextBrowser * upcomingFeatures
Definition: about.h:69
QStringList * releases
Definition: about.h:74
Q3Http http
Definition: about.h:77
void closed()
QMovie * albumShaperAgingImage
Definition: about.h:58
About(int mode, QWidget *parent=0, const char *name=0)
Definition: about.cpp:50
QTabWidget * tabWidget
Definition: about.h:64
void fileFetched(bool error)
Definition: about.cpp:187
int getMode
Definition: about.h:80
void reject()
Definition: about.cpp:410
Q3TextBrowser * credits
Definition: about.h:66
Q3TextBrowser * history
Definition: about.h:67