summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/can.pro
diff options
context:
space:
mode:
authorEvgeny Shtanov <shtanov_evgenii@mail.ru>2021-03-10 22:33:56 +0300
committerEvgeny Shtanov <shtanov_evgenii@mail.ru>2021-03-19 00:48:34 +0300
commita72f9e33dc8fe60ef80eee0ecf97965fc8482fe9 (patch)
tree6af3cd4cbdfdef1a137bb690f076bb15608eb414 /examples/serialbus/can/can.pro
parent55f97fd0178485bafed1e97eaf0d4ebf91a312b5 (diff)
CAN example: Replace received frames edit with proper table and model
Add a class based on QAbstractTableModel to show the received frames. Also add a configurable queue to buffer the frames before displaying them. This should avoid frames loss in flood traffic mode. Task-number: QTBUG-85611 Change-Id: Iac4671096c1cbfdc8297acf3c99be960b7eaf010 Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'examples/serialbus/can/can.pro')
-rw-r--r--examples/serialbus/can/can.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/serialbus/can/can.pro b/examples/serialbus/can/can.pro
index 81e29ee..06a75f3 100644
--- a/examples/serialbus/can/can.pro
+++ b/examples/serialbus/can/can.pro
@@ -9,12 +9,17 @@ SOURCES += \
connectdialog.cpp \
main.cpp \
mainwindow.cpp \
+ receivedframesmodel.cpp \
+ receivedframesview.cpp \
sendframebox.cpp
HEADERS += \
bitratebox.h \
+ common.h \
connectdialog.h \
mainwindow.h \
+ receivedframesmodel.h \
+ receivedframesview.h \
sendframebox.h
FORMS += mainwindow.ui \