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_LOADDIALOG_H 00018 #define GUI_LOADDIALOG_H 00019 00020 //-------------------- 00021 //forward declarations 00022 class QPixmap; 00023 class QGridLayout; 00024 class QLabel; 00025 class QListBox; 00026 //-------------------- 00027 00028 #include "qwidget.h" 00029 00030 //===================================== 00033 //===================================== 00034 00035 class LoadDialog : public QWidget 00036 { 00037 //------------------------------------------------------ 00038 public: 00040 LoadDialog( QWidget *parent=0, const char* name=0 ); 00041 00043 void printMessage( QString message ); 00044 00046 void printSubalbumPhoto( int subalbum, int photo ); 00047 //------------------------------------------------------ 00048 private: 00050 QPixmap* applicationIcon; 00051 00053 QGridLayout* grid; 00054 00056 QLabel* loading; 00057 00059 QListBox* entries; 00060 00062 bool lastMessageSubalbumPhoto; 00063 int lastSubalbum; 00064 //------------------------------------------------------ 00065 }; 00066 00067 #endif // GUI_LOADDIALOG_H