10#ifndef SIMPLE_DIALOG_H
11#define SIMPLE_DIALOG_H
48 const char *msg_format, va_list ap,
49 QString secondary_msg = QString());
103 QString informative_text_;
104 QString detailed_text_;
105 QCheckBox *check_box_;
106 QMessageBox *message_box_;
Thin wrapper around QMessageBox that can be constructed before Qt is fully initialised,...
Definition simple_dialog.h:34
void setDetailedText(QString text)
Sets the detailed text shown in the expandable details area.
Definition simple_dialog.h:82
static QString dontShowThisAgain()
Returns the standard label text for a "Don't show this again" check box.
Definition simple_dialog.cpp:346
void show()
Shows the dialog modelessly (non-blocking).
Definition simple_dialog.cpp:384
int exec()
Shows the dialog modally and returns the result code of the button that was clicked.
Definition simple_dialog.cpp:351
~SimpleDialog()
Destroys the SimpleDialog and the underlying QMessageBox if one was created.
Definition simple_dialog.cpp:290
void setCheckBox(QCheckBox *cb)
Attaches a check box (e.g. "Don't show this again") to the dialog.
Definition simple_dialog.h:88
void setInformativeText(QString text)
Sets the informative (secondary) text shown below the main message.
Definition simple_dialog.h:76
static void displayQueuedMessages(QWidget *parent=0)
Displays any messages that were queued before Qt was initialised.
Definition simple_dialog.cpp:294
ESD_TYPE_E
Definition simple_dialog.h:31