trikRuntime
|
Widget showing some message and waiting until the user will press any key. More...
#include <trikGuiMessageBox.h>
Public Member Functions | |
TrikGuiMessageBox (QWidget *parent=0) | |
Constructor. More... | |
int | exec (const QString &message) |
Show widget and wait until the user will press any key. More... | |
void | renewFocus () override |
Set focus properly on this widget or one of its children. More... | |
Public Member Functions inherited from trikGui::MainWidget | |
MainWidget (QWidget *parent) | |
Constructor. More... | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) override |
Additional Inherited Members | |
Public Types inherited from trikGui::MainWidget | |
enum | FileManagerRootType { FileManagerRootType::scriptsDir, FileManagerRootType::allFS } |
Signals inherited from trikGui::MainWidget | |
void | newWidget (trikGui::MainWidget &widget) |
Emitted when the widget created a new one and wants it to be shown. More... | |
Widget showing some message and waiting until the user will press any key.
|
explicit |
Constructor.
parent | - parent of this widget in Qt object hierarchy. |
int TrikGuiMessageBox::exec | ( | const QString & | message | ) |
Show widget and wait until the user will press any key.
message | - message to show. |
|
overrideprotected |
|
overridevirtual |
Set focus properly on this widget or one of its children.
Implements trikGui::MainWidget.