summaryrefslogtreecommitdiffstats
path: root/examples/serialport/terminal/mainwindow.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-08-01 15:09:13 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2015-08-03 18:29:00 +0000
commit441711874e3ee952b86f7c48aa534f835786bc06 (patch)
treecd9328b891e7c38e416d603bf7870f1677848e68 /examples/serialport/terminal/mainwindow.h
parent6177df568f1f55c311b301740d70f357bc54e27b (diff)
Use the permanent status message in Terminal example
... because earlier was used the temporal message which disappeared in case of moving of the mouse cursor on the menu. (cherry-picked from 0202ceea3a33f27c881a725ec9f7c1f35b8f9b49) Change-Id: I7a7cb10120ffdd242a76e91ec08554db69e0f959 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples/serialport/terminal/mainwindow.h')
-rw-r--r--examples/serialport/terminal/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/serialport/terminal/mainwindow.h b/examples/serialport/terminal/mainwindow.h
index 1be7f893..63a55c38 100644
--- a/examples/serialport/terminal/mainwindow.h
+++ b/examples/serialport/terminal/mainwindow.h
@@ -51,6 +51,8 @@
QT_BEGIN_NAMESPACE
+class QLabel;
+
namespace Ui {
class MainWindow;
}
@@ -81,7 +83,10 @@ private:
void initActionsConnections();
private:
+ void showStatusMessage(const QString &message);
+
Ui::MainWindow *ui;
+ QLabel *status;
Console *console;
SettingsDialog *settings;
QSerialPort *serial;