17 #include <QtCore/qglobal.h> 19 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 20 #include <QtGui/QWidget> 21 #include <QtGui/QLabel> 22 #include <QtGui/QVBoxLayout> 24 #include <QtWidgets/QWidget> 25 #include <QtWidgets/QLabel> 26 #include <QtWidgets/QVBoxLayout> 29 #include <QtCore/QString> 30 #include <QtCore/QEventLoop> 31 #include <QtGui/QKeyEvent> 49 int exec(
const QString &message);
59 QEventLoop mEventLoop;
int exec(const QString &message)
Show widget and wait until the user will press any key.
Definition: trikGuiMessageBox.cpp:31
Abstract class for widgets which will be used for conversation with user.
Definition: mainWidget.h:28
void keyPressEvent(QKeyEvent *event) override
Definition: trikGuiMessageBox.cpp:43
Definition: abstractIndicator.h:21
Widget showing some message and waiting until the user will press any key.
Definition: trikGuiMessageBox.h:38
TrikGuiMessageBox(QWidget *parent=0)
Constructor.
Definition: trikGuiMessageBox.cpp:21
void renewFocus() override
Set focus properly on this widget or one of its children.
Definition: trikGuiMessageBox.cpp:38