Main Page   Compound List   File List   Compound Members   File Members  

questionDialog.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_QUESTIONDIALOG_H
00018 #define GUI_QUESTIONDIALOG_H
00019 
00020 //--------------------
00021 //forward delcarations
00022 class QGridLayout;
00023 class QLabel;
00024 class QTextEdit;
00025 class QPushButton;
00026 class QPixmap;
00027 class QFrame;
00028 //--------------------
00029 
00030 #include <qdialog.h>
00031 
00032 
00033 //=====================================
00036 //=====================================
00037 
00038 class QuestionDialog : public QDialog
00039 {
00040 Q_OBJECT
00041 //----------------------
00042 public:
00044   QuestionDialog( QString question,
00045                   QString message,
00046                   QString questionIconName,
00047                   QWidget *parent=0,
00048                   const char* name=0);
00049   
00051   ~QuestionDialog();
00052 //----------------------
00053 private:
00055   QGridLayout *gridTop, *gridBottom, *gridFull;
00056   
00058   QLabel* questionText;
00059   
00061   QTextEdit* messageText;
00062 
00064   QPushButton* okButton;
00065 
00067   QPushButton* cancelButton;
00068 
00070   QPixmap* windowIcon;
00071   
00073   QPixmap* questionIcon;
00074   
00076   QLabel* questionIconLabel;  
00077   
00079   QFrame *topFrame, *bottomFrame;    
00080 //----------------------
00081 };
00082 //======================
00083 
00084 #endif //GUI_QUESTIONDIALOG_H

Generated on Tue Jun 10 23:41:21 2003 for AlbumShaper by doxygen 1.3.1