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
21class Q3GridLayout;
22class QLabel;
23class Q3TextEdit;
24class QPushButton;
25class QPixmap;
26class Q3Frame;
27//--------------------
28
29#include <qdialog.h>
30
31//=====================================
34//=====================================
35
36class AlertDialog : public QDialog
37{
38Q_OBJECT
39//----------------------
40public:
42 AlertDialog( QString message,
43 QString description,
44 QString alertIconName,
45 QWidget *parent=0,
46 const char* name=0);
47
50//----------------------
51private:
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
A configurable alert dialog that displays an alert/error message.
Definition alertDialog.h:37
Q3GridLayout * gridTop
Grids objects placed in.
Definition alertDialog.h:53
Q3GridLayout * gridFull
Definition alertDialog.h:53
~AlertDialog()
Destructor.
QLabel * alertIconLabel
Label which shows alert icon.
Definition alertDialog.h:68
Q3Frame * topFrame
Top and bottom frames.
Definition alertDialog.h:71
Q3GridLayout * gridBottom
Definition alertDialog.h:53
AlertDialog(QString message, QString description, QString alertIconName, QWidget *parent=0, const char *name=0)
Basic constructor.
Q3Frame * bottomFrame
Definition alertDialog.h:71
QLabel * alertText
Message displayed in window.
Definition alertDialog.h:56
QPushButton * okButton
Ok button.
Definition alertDialog.h:62
Q3TextEdit * descriptionText
Description displayed in window.
Definition alertDialog.h:59
QPixmap * alertIcon
Alert icon.
Definition alertDialog.h:65