Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
qt_message_box.h File Reference
#include <QDialog>
#include "ui_qt_message_box.h"
#include "api/keystone_api.h"

Go to the source code of this file.

Classes

class  qt_message_box
 A basic message box dialog. More...
 

Enumerations

enum  KeystoneMessageBoxType {
  KeystoneMessageBoxType::None, KeystoneMessageBoxType::Warning, KeystoneMessageBoxType::Error, KeystoneMessageBoxType::Question,
  KeystoneMessageBoxType::Help, KeystoneMessageBoxType::Info
}
 Enumerator containing different possible message box types, primarily used to control the icon that is used. More...
 
enum  KeystoneMessageBoxButtons { KeystoneMessageBoxButtons::Ok, KeystoneMessageBoxButtons::OkCancel, KeystoneMessageBoxButtons::AbortRetryIgnore, KeystoneMessageBoxButtons::YesNo }
 Enumerator containing different possible button combinations. More...
 

Enumeration Type Documentation

◆ KeystoneMessageBoxButtons

Enumerator containing different possible button combinations.

Enumerator
Ok 

Dialog is shown with an [OK] button.

OkCancel 

Dialog is shown with an [OK] and [Cancel] button.

AbortRetryIgnore 

Dialog is shown with an [Abort], [Retry] and [Ignore] button.

YesNo 

Dialog is shown with a [Yes] and [No] button.

◆ KeystoneMessageBoxType

Enumerator containing different possible message box types, primarily used to control the icon that is used.

Enumerator
None 

The dialog will not contain an icon.

Warning 

Dialog icon will be a yellow triangle with an exclamation mark.

Error 

Dialog icon will be a red circle with an X.

Question 

Dialog icon will be a speech bubble with a question mark.

Help 

Dialog icon will be a purple book with a question mark.

Info 

Dialog icon will be a white circle with an i.