![]() |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
GUI for the Qt-based error dialog box. More...
#include <error_dialog.h>
Public Member Functions | |
ErrorDialog (bool allow_safemode, bool allow_continue, std::string text, QWidget *parent=Q_NULLPTR) | |
Constructs a new error dialog. More... | |
~ErrorDialog () | |
KeystoneDialogResult | GetResult () |
Retrieves the result of the dialog. More... | |
GUI for the Qt-based error dialog box.
ErrorDialog::ErrorDialog | ( | bool | allow_safemode, |
bool | allow_continue, | ||
std::string | text, | ||
QWidget * | parent = Q_NULLPTR |
||
) |
Constructs a new error dialog.
allow_safemode | - Whether or not to allow the user to run the game in safe mode. |
allow_continue | - Whether or not to allow the user to continue program execution. |
text | - The message to display to the user. |
parent | - The parent window of this dialog. Defaults to Q_NULLPTR . |
ErrorDialog::~ErrorDialog | ( | ) |
KeystoneDialogResult ErrorDialog::GetResult | ( | ) |
Retrieves the result of the dialog.