summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/can.pro
Commit message (Collapse)AuthorAgeFilesLines
* CAN Example: Add CanBusDeviceInfo dialogAndre Hartmann2021-07-271-1/+8
| | | | | | | | | | | As example for the new function QCanBusDevice::deviceInfo(). Therefore, extract the group box containing the information from the connect dialog and re-use it for the new CAN device information dialog. Change-Id: I1fd5f9b630a24c819c1fd77a4e2c05542dc15378 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CAN example: Replace received frames edit with proper table and modelEvgeny Shtanov2021-03-191-0/+5
| | | | | | | | | | | 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>
* qtlite: Skip building examples when configured with no-feature-itemviewsRainer Keller2018-01-121-0/+1
| | | | | | Task-number: QTBUG-53141 Change-Id: I04c3627ca94de9277d7c09365b4de6a382187c62 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CAN-Example: Add a dedicated send frame group boxAndre Hartmann2017-07-171-1/+4
| | | | | | | | | | | | | | By moving the send frame logic to a separate panel, the MainWindow gets easier to understand as it only connects signals to slots. The new SendFramesBox also does more sanity check on the parameters (options that exclude each other are checked) and forbids invalid input by using QValidators. The payload input is also prettified with spaces. This was first done by InputMasks but this had strange side effects so now the input validator is used for this task also. Change-Id: Ib95605ce4bc23b52d1cf5d082b1533b2a59f7749 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CAN-Example: Introduce bitrate selection combox boxAndre Hartmann2017-01-161-4/+8
| | | | | | | | Factor the bitrate selection logic out of connect dialog to allow re-using the logic for CAN FD data bitrate selection later. Change-Id: I0a509c6200dddbd6b254a5e7f0702e6b0c99d1a3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CAN-Example: Change SettingsDialog to ConnectDialogAndre Hartmann2016-05-031-3/+3
| | | | | | | | | | | | | | | This simplifies the handling and makes it more like how other CAN monitors behave. * After startup, the connect dialog is shown * If the dialog is accepted, the selected device is connected instantly * To interrupt a connection, the disconnect action can be used * To connect again, the action connect can be used Change-Id: I47db596658e90cc0393981fba135cd6d89191f1a Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* add example installsOswald Buddenhagen2016-04-281-0/+3
| | | | | Change-Id: I9a42406c973a0933125106d610fb0547b4cc5bb0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* fix spurious dependenciesOswald Buddenhagen2015-11-111-1/+1
| | | | | | | | | most importantly, eliminate gui everywhere where it is not needed, and don't redundantly list it where it is. Change-Id: I8567e8473d976d9087a7da6d8f9f81b43148c8b2 Reviewed-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Refactor the UI of CAN example applicationDenis Shienkov2015-08-311-3/+8
| | | | | | | | | | * The SettingsDialog class is added * The menu-bar actions and icons are added * All widgets are wrapped with layouts * A code related to device accessing is modified Change-Id: I45d056951163441195f61df411669d1130a41867 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add error description function to QCanBusDevice.Alex Blasche2015-07-281-4/+3
| | | | | | Change-Id: I074c6e3ff730ab4926ad43dea94d0263d91de160 Reviewed-by: Janne Hurskainen <janne.hurskainen@bitfactor.fi> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Example application improvementsJanne Partala2015-07-211-0/+12
Example applications are now divided by plugin (Only Socket CAN currently available). Code is cleaned up for better readibility. Change-Id: I07512a75190bf7637a759fc007af7089a43196ae Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>