Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

albumStatistics.h

Go to the documentation of this file.
00001 //==============================================
00002 //  copyright            : (C) 2003 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 //  As a special exception, Will Stokes gives permission to 
00011 //  link this program with Qt non-commercial edition, and 
00012 //  distribute the resulting executable, without including the 
00013 //  source code for the Qt non-commercial edition in the 
00014 //  source distribution. 
00015 //==============================================
00016 
00017 #ifndef GUI_ALBUMSTATISTICS_H
00018 #define GUI_ALBUMSTATISTICS_H
00019 
00020 #include <qdialog.h>
00021 
00022 //forward declarations
00023 class QGridLayout;
00024 class QFrame;
00025 class QLabel;
00026 class QPixmap;
00027 class QPushButton;
00028 class Album;
00029 
00030 //=====================================
00033 //=====================================
00034 
00035 //======================
00036 class AlbumStatistics : public QDialog
00037 {
00038 Q_OBJECT
00039 //----------------------
00040 public:
00041   AlbumStatistics( Album* album, QWidget *parent=0, const char* name=0);
00042   void closeEvent( QCloseEvent* e);
00043 //----------------------
00044 signals:
00045   void albumStatisticsClosed();
00046 //----------------------
00047 private:
00048   Album* album;
00049   QGridLayout* grid;
00050   QGridLayout* grid2;
00051   
00052   QLabel* titleMessage;
00053   
00054   QLabel* numSubalbums;
00055   QLabel* numSubalbumsVal;
00056   
00057   QLabel* numPhotos;
00058   QLabel* numPhotosVal;
00059   
00060   QLabel* sizeOnDisk;
00061   QLabel* sizeOnDiskVal;
00062   
00063   QFrame* albumPreview;
00064   QPixmap* albumImage;
00065   QLabel* albumIcon;
00066   
00067   QLabel* albumTitle;
00068 
00070   QPushButton* okButton;
00071 //----------------------
00072 };
00073 //======================
00074 
00075 #endif //GUI_ALBUMSTATISTICS_H

Generated on Thu Nov 13 00:10:53 2003 for AlbumShaper by doxygen 1.3.4