eVaf
|
Fatal error message dialog box. More...
#include </var/tmp/work/evaf/src/main/GUI/fatalerr.h>
Public Types | |
enum | Result { Abort = 0, Ignore = 1 } |
Returns values. More... | |
Public Member Functions | |
FatalErr (QString const &title, QString const &text, QWidget *parent=0) | |
Creates the fatal error message dialog box. More... | |
Static Public Member Functions | |
static int | message (QString const &title, QString const &text, QWidget *parent=0) |
Shows a fatal error message dialog box. More... | |
Protected Member Functions | |
virtual void | timerEvent (QTimerEvent *) |
Timer event handler. More... | |
Fatal error message dialog box.
The fatal error message dialog box shows a fatal error message and starts a count-down to close the dialog box and abort the application. Users can click on the Ignore button to keep the application running for diagnostics.
Definition at line 38 of file fatalerr.h.
Returns values.
Enumerator | |
---|---|
Abort |
User clicked on the Abort button or the dialog box timed out. |
Ignore |
User clicked on the Ignore button. |
Definition at line 45 of file fatalerr.h.
eVaf::GUI::Internal::FatalErr::FatalErr | ( | QString const & | title, |
QString const & | text, | ||
QWidget * | parent = 0 |
||
) |
Creates the fatal error message dialog box.
title | Title of the dialog box |
text | Text shown on the dialog box |
parent | Optional parent widget |
|
static |
Shows a fatal error message dialog box.
title | Title of the dialog box |
text | Text shown on the dialog box |
parent | Optional parent widget |
|
protectedvirtual |
Timer event handler.