21 #include "../core/system/eptexception.h"
24 QMessageBox(icon, title, text, buttons, parent),
25 mCloseReason(closeReason)
36 switch (m->getType()) {
48 QMessageBox::closeEvent(e);
53 EptAssert(
false,
"This function may not be called!");
std::shared_ptr< Message > MessagePtr
Global type of a shared message pointer.
~AutoClosingMessageBox()
Destructor.
CloseReason
Reasons for the dialog to close automatically.
virtual void closeEvent(QCloseEvent *e) overridefinal
Reimplementation of the close event.
AutoClosingMessageBox(QWidget *parent, CloseReason closeReason, Icon icon, const QString &title, const QString &text, StandardButton buttons=StandardButton::Ok)
Constructor.
virtual int exec() overridefinal
Executing of the dialog is forbidden.
const CloseReason mCloseReason
Reason to close the dialog automatically.
MSG_RECORDING_STARTED was received.
keystroke recognized and recording started
virtual void handleMessage(MessagePtr m) overridefinal
Message handling.