Commit Graph

13 Commits

Author SHA1 Message Date
Dean Lee
4a67971c61 Cabana: auto theme, detect from system. (#26563)
* auto theme

* cleanup

* get font color from ForegroundRole

* fix label color

* add padding for header

* smaller warning icon

* fix bg of binary view

* hightlight after init
old-commit-hash: 4662f1e0be
2022-11-22 14:23:49 -08:00
Dean Lee
b2e08f2ac7 Cabana: improve binary view (#26525)
* improve

* set minimum width

* click signal to open&hide form

* disable vertical header's click
old-commit-hash: 66edb15b8f
2022-11-16 15:51:05 -08:00
Dean Lee
5f80ca6359 Cabana: Added support for undo & redo (#26440)
* undo/redo

* display command list to rolling the state backwards or forward

* update detailview after rolling states

* add * to title bar to indicate dbc has changed

* fix signal pointer address changed after removed

* cleanup

* fix id error

* clear undo stack after dbc file changed

* cleanup

* use map

* cleanup

* typo
old-commit-hash: 7c922eafe9
2022-11-10 10:37:38 -08:00
Dean Lee
e48e9b30f0 Cabana: improve the BinaryView & fix known issues (#26409)
* fix flipping issue

* dragging up to create little endian signal

* transform between little & big endian

* complete selection functions

* scroll to top after msg updated

* remove empty line

* cleanup code

* remove extra semicolon

* fix indentation

* minmax

* dont select hex column

* create msg if not existed
old-commit-hash: b320ac6c23
2022-11-09 22:05:18 -08:00
Dean Lee
5d965010be Cabana: fix signal list glitch (#26357)
* fix signal list glitch

* fix glitch when open new msg

* reduce spacing

* fix binaryview glitch

* spacing 3

* create form on demand

* dont close form after save

* remove timer

* remove sizepolicy

* cleanup
old-commit-hash: 0e3edf7877
2022-11-04 11:16:15 -07:00
Dean Lee
01b10ac864 Cabana: make whole DetailWidget scrollable (#26340)
old-commit-hash: b25e56925c
2022-11-03 10:44:37 -07:00
Dean Lee
881273fe19 Cabana: double click the title bar to move binview to a separate column (#26280)
* double click to move binview to seperate column

* cleanup

* double click frame

* continue

* rename signal

* add tooltip

* fix layout

* don't show last cell's  bottom line

* increase spliter handle size

* cleanup

* set resize mode to ResizeToContents

* add a split button

* cleanup layout&fix space

* cleanup

* remove hardcoded size

* cleanup
old-commit-hash: 5aa0d211f0
2022-10-29 12:01:08 -07:00
Dean Lee
bd98b9b80c Cabana: display overlapping bits warning (#26219)
display overlapping bits warning
old-commit-hash: 87e0a5dd1a
2022-10-24 11:46:40 -07:00
Dean Lee
1ff74d58b7 Cabana: Added ability to highlight and resize overlapped signals (#26210)
old-commit-hash: 20dced4edc
2022-10-23 15:28:25 -07:00
Dean Lee
8e68208690 Cabana: drag to adjust signal size (#26172)
* drag to adjust signal size

* rename

* override setSelection

* use signal color as selection color while resing

* helper funtion

* hide tooltip if not in signal

* cleanup

* cabana: remove unused metatype (#26175)

remove unused metatype

* cabana: improve signal highlight on hover (#26161)

* just change font color

* merge master

* cleanup
old-commit-hash: d6a0f1c25a
2022-10-20 13:09:49 -07:00
Dean Lee
6a688db10e Cabana: highlight signal on mouse over (#26157)
old-commit-hash: bc2b247d71
2022-10-19 11:04:08 -07:00
Dean Lee
b2939b5fd2 cabana: use monospaced font for hex in BinaryView (#26153)
use fixedfont
old-commit-hash: 3fae3b3660
2022-10-19 08:03:14 -07:00
Dean Lee
d2d27243e4 Cabana: show MSB/LSB of signals in the BinaryView (#26103)
* dispaly msb and lsb in binary view

* draw at bottom

* move binaryview to seperate files

* increase the width of vertical header

* re-draw changed cells only

* correct lsb/msb position

* check bounds

* todo
old-commit-hash: 99b16151fc
2022-10-17 17:19:41 -07:00