Elaztek Developer Hub
Blamite Game Engine - Keystone  00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
ErrorDialog Class Reference

GUI for the Qt-based error dialog box. More...

#include <error_dialog.h>

+ Inheritance diagram for ErrorDialog:
+ Collaboration diagram for ErrorDialog:

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...
 

Detailed Description

GUI for the Qt-based error dialog box.

Constructor & Destructor Documentation

◆ ErrorDialog()

ErrorDialog::ErrorDialog ( bool  allow_safemode,
bool  allow_continue,
std::string  text,
QWidget *  parent = Q_NULLPTR 
)

Constructs a new error dialog.

Parameters
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::~ErrorDialog ( )

Member Function Documentation

◆ GetResult()

KeystoneDialogResult ErrorDialog::GetResult ( )

Retrieves the result of the dialog.

Returns
The result of the dialog.
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: