AlbumShaper  1.0a3
albumStatistics.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_ALBUMSTATISTICS_H
12 #define GUI_DIALOGS_ALBUMSTATISTICS_H
13 
14 #include <qdialog.h>
15 //Added by qt3to4:
16 #include <Q3Frame>
17 #include <Q3GridLayout>
18 #include <QCloseEvent>
19 #include <QPixmap>
20 #include <QLabel>
21 
22 //forward declarations
23 class Q3GridLayout;
24 class Q3Frame;
25 class QLabel;
26 class QPixmap;
27 class QPushButton;
28 class Album;
29 
30 //=====================================
33 //=====================================
34 
35 //======================
36 class AlbumStatistics : public QDialog
37 {
38 Q_OBJECT
39 //----------------------
40 public:
41  AlbumStatistics( Album* album, QWidget *parent=0, const char* name=0);
42 //----------------------
43 signals:
44  void closed();
45 //----------------------
46 private slots:
47  void setCreationDate();
48  void reject();
49 //----------------------
50 private:
51  void closeEvent( QCloseEvent* e);
52 
54  Q3GridLayout* grid;
55  Q3GridLayout* grid2;
56 
58 
61 
64 
67 
70  QPushButton* setCreatedVal;
71 
74 
76  QPixmap* albumImage;
78 
80 
82  QPushButton* closeButton;
83 //----------------------
84 };
85 //======================
86 
87 #endif //GUI_DIALOGS_ALBUMSTATISTICS_H
QLabel * numPhotosVal
Q3GridLayout * grid
QLabel * numSubalbumsVal
QLabel * titleMessage
QLabel * sizeOnDiskVal
QPushButton * closeButton
Close button.
Album Statistics Window.
QLabel * numSubalbums
QLabel * modifiedVal
QPixmap * albumImage
Q3Frame * albumPreview
Q3GridLayout * grid2
void closeEvent(QCloseEvent *e)
QPushButton * setCreatedVal
An album contains Subalbums.
Definition: album.h:52
AlbumStatistics(Album *album, QWidget *parent=0, const char *name=0)