AlbumShaper  1.0a3
alertDialog.h
Go to the documentation of this file.
1 //Added by qt3to4:
2 #include <QPixmap>
3 #include <Q3GridLayout>
4 #include <Q3Frame>
5 #include <QLabel>
6 //==============================================
7 // copyright : (C) 2003-2005 by Will Stokes
8 //==============================================
9 // This program is free software; you can redistribute it
10 // and/or modify it under the terms of the GNU General
11 // Public License as published by the Free Software
12 // Foundation; either version 2 of the License, or
13 // (at your option) any later version.
14 //==============================================
15 
16 #ifndef GUI_DIALOGS_ALERTDIALOG_H
17 #define GUI_DIALOGS_ALERTDIALOG_H
18 
19 //--------------------
20 //forward delcarations
21 class Q3GridLayout;
22 class QLabel;
23 class Q3TextEdit;
24 class QPushButton;
25 class QPixmap;
26 class Q3Frame;
27 //--------------------
28 
29 #include <qdialog.h>
30 
31 //=====================================
34 //=====================================
35 
36 class AlertDialog : public QDialog
37 {
38 Q_OBJECT
39 //----------------------
40 public:
42  AlertDialog( QString message,
43  QString description,
44  QString alertIconName,
45  QWidget *parent=0,
46  const char* name=0);
47 
49  ~AlertDialog();
50 //----------------------
51 private:
53  Q3GridLayout *gridTop, *gridBottom, *gridFull;
54 
57 
60 
62  QPushButton* okButton;
63 
65  QPixmap* alertIcon;
66 
69 
72 //----------------------
73 };
74 //======================
75 
76 #endif //GUI_DIALOGS_ALERTDIALOG_H
Q3Frame * bottomFrame
Definition: alertDialog.h:71
QLabel * alertText
Message displayed in window.
Definition: alertDialog.h:56
A configurable alert dialog that displays an alert/error message.
Definition: alertDialog.h:36
AlertDialog(QString message, QString description, QString alertIconName, QWidget *parent=0, const char *name=0)
Basic constructor.
Definition: alertDialog.cpp:28
Q3TextEdit * descriptionText
Description displayed in window.
Definition: alertDialog.h:59
QLabel * alertIconLabel
Label which shows alert icon.
Definition: alertDialog.h:68
Q3GridLayout * gridFull
Definition: alertDialog.h:53
Q3GridLayout * gridTop
Grids objects placed in.
Definition: alertDialog.h:53
QPixmap * alertIcon
Alert icon.
Definition: alertDialog.h:65
Q3GridLayout * gridBottom
Definition: alertDialog.h:53
~AlertDialog()
Destructor.
Definition: alertDialog.cpp:92
Q3Frame * topFrame
Top and bottom frames.
Definition: alertDialog.h:71
QPushButton * okButton
Ok button.
Definition: alertDialog.h:62