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_SAVEDIALOG_H 00018 #define GUI_SAVEDIALOG_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 SaveDialog : public QWidget 00036 { 00037 //------------------------------------------------------ 00038 public: 00040 SaveDialog( QWidget *parent=0, const char* name=0 ); 00041 00043 ~SaveDialog(); 00044 00046 void printMessage( QString message ); 00047 00049 void printSubalbumHTML( int val ); 00050 00052 void printSubalbumPhoto( int subalbum, int photo ); 00053 //------------------------------------------------------ 00054 private: 00056 QPixmap* applicationIcon; 00057 00059 QGridLayout* grid; 00060 00062 QLabel* saving; 00063 00065 QListBox* entries; 00066 00068 bool lastMessageSubalbumHTML; 00069 bool lastMessageSubalbumPhoto; 00070 int lastSubalbum; 00071 //------------------------------------------------------ 00072 }; 00073 00074 #endif // GUI_SAVEDIALOG_H