summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/sendframebox.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix outdated BSD license headerLiang Qi2017-11-161-2/+12
| | | | | Change-Id: I93a7fa404ade8b55a1410956ba9b17976fec71d0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix namespace build of can bus exampleAlex Blasche2017-07-181-0/+2
| | | | | | Change-Id: Ia3e9fcd129cf61669bb666f32e60820c88e9c547 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
* CAN-Example: Add a dedicated send frame group boxAndre Hartmann2017-07-171-0/+100
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>