summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/mainwindow.h
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2017-07-06 20:26:21 +0200
committerAndré Hartmann <aha_1980@gmx.de>2017-07-11 09:00:24 +0000
commit41b46ae9fe32481582bf07cd48bda2d3595c90f7 (patch)
treeb1146fb2ef209a0c8c358296a768446608e0ed9d /examples/serialbus/can/mainwindow.h
parent484a79bc7182d1a5d05ce5024716662542ea3a1d (diff)
CAN-Example: Show errors and number of frames written in the UI
Change-Id: I1a8a14abee0cb533d454f67c8fca35099d8b4c1d Reviewed-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/serialbus/can/mainwindow.h')
-rw-r--r--examples/serialbus/can/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/serialbus/can/mainwindow.h b/examples/serialbus/can/mainwindow.h
index a23fbae..b0c6ef9 100644
--- a/examples/serialbus/can/mainwindow.h
+++ b/examples/serialbus/can/mainwindow.h
@@ -80,8 +80,10 @@ protected:
private:
void initActionsConnections();
+ qint64 m_numberFramesWritten = 0;
Ui::MainWindow *m_ui = nullptr;
QLabel *m_status = nullptr;
+ QLabel *m_written = nullptr;
ConnectDialog *m_connectDialog = nullptr;
QCanBusDevice *m_canDevice = nullptr;
};