00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef GUI_DIALOGS_ALERTDIALOG_H
00012 #define GUI_DIALOGS_ALERTDIALOG_H
00013
00014
00015
00016 class QGridLayout;
00017 class QLabel;
00018 class QTextEdit;
00019 class QPushButton;
00020 class QPixmap;
00021 class QFrame;
00022
00023
00024 #include <qdialog.h>
00025
00026
00029
00030
00031 class AlertDialog : public QDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00037 AlertDialog( QString message,
00038 QString description,
00039 QString alertIconName,
00040 QWidget *parent=0,
00041 const char* name=0);
00042
00044 ~AlertDialog();
00045
00046 private:
00048 QGridLayout *gridTop, *gridBottom, *gridFull;
00049
00051 QLabel* alertText;
00052
00054 QTextEdit* descriptionText;
00055
00057 QPushButton* okButton;
00058
00060 QPixmap* alertIcon;
00061
00063 QLabel* alertIconLabel;
00064
00066 QFrame *topFrame, *bottomFrame;
00067
00068 };
00069
00070
00071 #endif //GUI_DIALOGS_ALERTDIALOG_H