Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Keystone
00381.04.17.23.2324.blamite
A library that enables the use of Qt in Blamite's editing tools.
error_dialog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QWidget>
4
#include <string>
5
6
#include "
api/keystone_api.h
"
7
#include "ui_error_dialog.h"
8
12
class
ErrorDialog
:
public
QMainWindow
13
{
14
Q_OBJECT
15
16
private
:
17
Ui::error_notice_qt ui;
18
KeystoneDialogResult
dialog_result =
KeystoneDialogResult::Default_NotSet
;
19
20
public
:
29
ErrorDialog
(
bool
allow_safemode,
bool
allow_continue, std::string text, QWidget* parent = Q_NULLPTR);
30
~ErrorDialog
();
31
37
KeystoneDialogResult
GetResult
();
38
39
private
slots:
40
44
void
btn_continue_Click();
45
49
void
btn_safe_mode_Click();
50
54
void
btn_exit_Click();
55
};
KeystoneDialogResult::Default_NotSet
@ Default_NotSet
The dialog result has not yet been set.
KeystoneDialogResult
KeystoneDialogResult
Enumerator containing all possible generic dialog results.
Definition:
keystone_api.h:30
ErrorDialog::ErrorDialog
ErrorDialog(bool allow_safemode, bool allow_continue, std::string text, QWidget *parent=Q_NULLPTR)
Constructs a new error dialog.
Definition:
error_dialog.cpp:3
keystone_api.h
ErrorDialog::~ErrorDialog
~ErrorDialog()
Definition:
error_dialog.cpp:16
ErrorDialog
GUI for the Qt-based error dialog box.
Definition:
error_dialog.h:12
ErrorDialog::GetResult
KeystoneDialogResult GetResult()
Retrieves the result of the dialog.
Definition:
error_dialog.cpp:21
keystone
components
ui
shared
dialogs
error_dialog
error_dialog.h
Generated on Tue Apr 18 2023 02:09:17 for Blamite Game Engine - Keystone by
1.8.17