AlbumShaper
1.0a3
|
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_ALBUMSTATISTICS_H 00012 #define GUI_DIALOGS_ALBUMSTATISTICS_H 00013 00014 #include <qdialog.h> 00015 00016 //forward declarations 00017 class QGridLayout; 00018 class QFrame; 00019 class QLabel; 00020 class QPixmap; 00021 class QPushButton; 00022 class Album; 00023 00024 //===================================== 00027 //===================================== 00028 00029 //====================== 00030 class AlbumStatistics : public QDialog 00031 { 00032 Q_OBJECT 00033 //---------------------- 00034 public: 00035 AlbumStatistics( Album* album, QWidget *parent=0, const char* name=0); 00036 //---------------------- 00037 signals: 00038 void closed(); 00039 //---------------------- 00040 private slots: 00041 void setCreationDate(); 00042 void reject(); 00043 //---------------------- 00044 private: 00045 void closeEvent( QCloseEvent* e); 00046 00047 Album* album; 00048 QGridLayout* grid; 00049 QGridLayout* grid2; 00050 00051 QLabel* titleMessage; 00052 00053 QLabel* numSubalbums; 00054 QLabel* numSubalbumsVal; 00055 00056 QLabel* numPhotos; 00057 QLabel* numPhotosVal; 00058 00059 QLabel* sizeOnDisk; 00060 QLabel* sizeOnDiskVal; 00061 00062 QLabel* created; 00063 QLabel* createdVal; 00064 QPushButton* setCreatedVal; 00065 00066 QLabel* modified; 00067 QLabel* modifiedVal; 00068 00069 QFrame* albumPreview; 00070 QPixmap* albumImage; 00071 QLabel* albumIcon; 00072 00073 QLabel* albumTitle; 00074 00076 QPushButton* closeButton; 00077 //---------------------- 00078 }; 00079 //====================== 00080 00081 #endif //GUI_DIALOGS_ALBUMSTATISTICS_H