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_;
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:342
void show()
Shows the dialog modelessly (non-blocking).
Definition simple_dialog.cpp:380
int exec()
Shows the dialog modally and returns the result code of the button that was clicked.
Definition simple_dialog.cpp:347
~SimpleDialog()
Destroys the SimpleDialog and the underlying QMessageBox if one was created.
Definition simple_dialog.cpp:286
SimpleDialog(QWidget *parent, ESD_TYPE_E type, int btn_mask, const char *msg_format, va_list ap, QString secondary_msg=QString())
Constructs a SimpleDialog, building the underlying QMessageBox if Qt is ready, or queuing the message...
Definition simple_dialog.cpp:189
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:290
ESD_TYPE_E
Definition simple_dialog.h:31