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.
qt_message_box Class Reference

A basic message box dialog. More...

#include <qt_message_box.h>

+ Inheritance diagram for qt_message_box:
+ Collaboration diagram for qt_message_box:

Public Member Functions

 qt_message_box (KeystoneMessageBoxType type, KeystoneMessageBoxButtons buttons, QString title, QString message, QWidget *parent=Q_NULLPTR)
 Initializes a new message box. More...
 
 ~qt_message_box ()
 
KeystoneDialogResult GetResult ()
 Retrieves the dialog result. More...
 

Detailed Description

A basic message box dialog.

This can be used as a way to present general information to the user, such as confirming before certain actions.

Todo:
Make an API function to call this and return a value.

Constructor & Destructor Documentation

◆ qt_message_box()

qt_message_box::qt_message_box ( KeystoneMessageBoxType  type,
KeystoneMessageBoxButtons  buttons,
QString  title,
QString  message,
QWidget *  parent = Q_NULLPTR 
)

Initializes a new message box.

Parameters
type- The type of dialog to show.
buttons- The button combination to use for the dialog.
title- The title of the dialog.
message- The message to show within the dialog.
parent- The parent widget of this dialog.

◆ ~qt_message_box()

qt_message_box::~qt_message_box ( )

Member Function Documentation

◆ GetResult()

KeystoneDialogResult qt_message_box::GetResult ( )

Retrieves the dialog result.

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

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