Base Framework
|
Message dialog. More...
#include <base/ui/MessageDialog.h>
Inherits Dialog.
Public Types | |
enum | Category { WARNING, QUESTION, ERROR, EXCLAMATION, INFORMATION } |
enum | Answer { ABORT, CANCEL, CONTINUE, IGNORE, NO, OK, RETRY, YES } |
Public Member Functions | |
MessageDialog () noexcept | |
MessageDialog (const String &title, const String &message, Category category) noexcept | |
Category | getCategory () const noexcept |
void | setCategory (Category category) noexcept |
const String & | getTitle () const noexcept |
void | setTitle (const String &title) noexcept |
const String & | getMessage () const noexcept |
void | setMessage (const String &message) noexcept |
bool | execute () |
Answer | getAnswer () noexcept |
![]() | |
virtual | ~Dialog () noexcept |
Message dialog.
Message dialog.
|
noexcept |
Initializes the message dialog.
|
noexcept |
Initializes the message dialog.
|
virtual |
Executes the dialog.
Implements Dialog.
|
inlinenoexcept |
Returns the answer.
|
inlinenoexcept |
Returns the message category.
|
inlinenoexcept |
Returns the message.
|
inlinenoexcept |
Returns the title of the dialog window.
|
inlinenoexcept |
Sets the flags.
|
inlinenoexcept |
Sets the current folder.
|
inlinenoexcept |
Sets the title of the dialog window.