summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/receivedframesmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CAN Example: improve UIIvan Solovev2023-02-031-4/+4
| | | | | | | | | | | | | | * Change title to "CAN Manager" (to avoid using "Example" in the name) * Rename "Received CAN messages" -> "Received CAN frames" * Rename "CAN-ID" -> "Frame ID" in the received frames table * Rename "Data" -> "Payload" in the received frames table * Show Frame ID uppercase in the received frames table * Stretch the "Payload" section to take the rest of the available width Task-number: QTBUG-110890 Pick-to: 6.5 Change-Id: Iea57246f45918d69bb11fff78b30952e447e87b2 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* CAN Example: increase the default size of the Flags columnIvan Solovev2023-02-021-1/+1
| | | | | | | | | ... so that the column name actually fits into it. Task-number: QTBUG-110890 Pick-to: 6.5 Change-Id: Idc88f4fa0064bd52331a9142ba99c42af7429057 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Use SPDX license identifiersLucie Gérard2022-06-101-49/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ie17b09db5a4aa7bb0d33906360f1125e9632425c Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CAN Example: Fix coding styleAndre Hartmann2021-12-161-4/+6
| | | | | Change-Id: I447a1faff0dae423051c884037c9267696272a6a Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* CAN example: Replace received frames edit with proper table and modelEvgeny Shtanov2021-03-191-0/+226
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>