trikRuntime
trikGui::TrikGuiMessageBox Class Reference

Widget showing some message and waiting until the user will press any key. More...

#include <trikGuiMessageBox.h>

Inheritance diagram for trikGui::TrikGuiMessageBox:
Collaboration diagram for trikGui::TrikGuiMessageBox:

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...
 

Detailed Description

Widget showing some message and waiting until the user will press any key.

Constructor & Destructor Documentation

TrikGuiMessageBox::TrikGuiMessageBox ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
parent- parent of this widget in Qt object hierarchy.

Member Function Documentation

int TrikGuiMessageBox::exec ( const QString &  message)

Show widget and wait until the user will press any key.

Parameters
message- message to show.
void TrikGuiMessageBox::keyPressEvent ( QKeyEvent *  event)
overrideprotected
void TrikGuiMessageBox::renewFocus ( )
overridevirtual

Set focus properly on this widget or one of its children.

Implements trikGui::MainWidget.


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