Commit Graph

19 Commits

Author SHA1 Message Date
Dean Lee 0899e5628a cabana: improve LogSlider (#27673)
* improve logslider

* fix code indentation
old-commit-hash: 583c4a031f433fb4b48c5dc0a522b71cdbd6f23c
2023-03-25 16:03:16 -07:00
Willem Melching da54ce208f cabana: show signal values with consistent number of digits (#27556)
old-commit-hash: b591b0c764b3ba025ec31b083143fcab4ffcb0d8
2023-03-14 11:29:00 -07:00
Willem Melching f0d648d8c6 cabana: refactor Msg and Signal into dbc.cc (#27552)
old-commit-hash: e4d591ecbfaaf12b267e3f93927a89e9b4f6a7b9
2023-03-10 11:19:37 -08:00
Dean Lee 2ca3feab16 cabana: get icon size from QStyle::PM_SmallIconSize (#27548)
old-commit-hash: b5d29b550c4b900d5e5e9dd9322a478e12ec9013
2023-03-09 13:13:46 -08:00
Dean Lee ca0b965d08 cabana: use a segment tree to solve range queries in O(log n) time complexity (#27498)
old-commit-hash: c2018d6bf291e68102859eb31bb1dd68790172b1
2023-03-05 16:03:44 -08:00
Dean Lee b12a2a0eaf cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
old-commit-hash: 78116029d33ab7724daa087201f1743fd34d6a19
2023-02-25 14:27:18 -08:00
Dean Lee 2aafd3bf01 cabana: improve UI & fix bugs (#27387)
* improve ui

* keep splitter size after msg changed

* no leading spaces allowed in msg filter and signal filter

* draw color byte AlignCenter

* always set as current index

* reduce chart flickers while resizing

* dispaly more info in tooltip for signal

* narrow combobox

* use  

* typo

* private sigs,fix bugs

* merge  #27383

* no expanding after undo/redo

* gray color in tooltip

* clear current_msg_id before reset model

* dont call setmeesage if id is the same

* fix bugs

* cleanup

* dont fetch logs if invisible

* add new CenterWidget, make sure msg_id is always valid

* cache icons

* cleanup paint byte color

* merge #27385 implement sizeHint

* cleanup code

* fillrect if alpha>0
old-commit-hash: 4efd246bac004f3b6f1f7d733e6e285b3fdc8322
2023-02-20 14:16:30 -08:00
Dean Lee 972e91463c cabana: add support for load&save extra dbc info (#27203)
* support extra info

* support undo/redo

* fix undo/redo

* cleanup

* fix regexp

* refactor dbcmanager

* replace text in headerview

* fix binary::refresh

* cleanup

* use QRegularExpression

* add desc validation

* edit val description in table

* cleanup
old-commit-hash: ac0dbf74bc835faa46beab4bbb948c95597e4e67
2023-02-17 19:31:54 -08:00
Dean Lee af6892d118 cabana: simplify conversions between QVariant and QVector<QColor> (#27367)
old-commit-hash: 37adf5d3a681daac2542270a24897ae00d42e4b8
2023-02-16 18:53:12 -08:00
Dean Lee 20977cbdfa cabana: fix incorrect bit color after seek (#27287)
old-commit-hash: d19b6683655813d18c4e485b613dd32666197232
2023-02-10 10:13:39 -08:00
Dean Lee d884ca45ed cabana: fix the text of signal value being clipped (#27292)
fix value be clipped
old-commit-hash: 429311a2cc17ac4d50e28574c1ea35d42a725dc9
2023-02-10 10:12:33 -08:00
Willem Melching 82eeb6f256 cabana: bit level change frequency highlighting (#27259)
* cabana: bit level change highlighting

* change default color
old-commit-hash: 276586fdf051caa86feef1820e6732567d22c19c
2023-02-08 15:18:56 -08:00
Willem Melching b94e06a6be cabana: extend color palette, make chart colors match signal view (#27258)
* cabana: extend color palette, make chart colors match signal view

* vary saturation too

* cleanup
old-commit-hash: fcaa6fb06fd68a71b129487d80ee00918695fc5b
2023-02-08 13:03:23 -08:00
Willem Melching 4081c51c73 cabana: add button to suppress highlighted bytes (#27131)
old-commit-hash: e3c202b4a2d79f6843aa54ec9a1ef81e39da2731
2023-02-02 13:16:09 -08:00
Dean Lee a1fb5b7e1f cabana: render light or dark icon based on system theme (#27155)
old-commit-hash: 0402e949270219bfbd964d38916ed52917090169
2023-01-31 13:45:57 -08:00
Dean Lee 86266c0cea cabana: draw message bytes at the same width (#27150)
old-commit-hash: 078f06dbaff2d1af57f1294095cfbd9c6e357ce1
2023-01-30 10:56:03 -08:00
Willem Melching fe511a5269 cabana: replace space by underscore when editing signal name (#27130)
cabana: replace space by _ whene editing signal name
old-commit-hash: 3d641fa5e530bd51ec40e9f1d9b466d75d2aefdf
2023-01-29 12:54:46 -08:00
Willem Melching 56618cdea6 cabana: fix overlap in byte highlighting (#27139)
old-commit-hash: d76012ec38ff5b996a329d35adc21ade17845d53
2023-01-29 12:52:42 -08:00
Dean Lee fc3dac373e cabana: colorful logs based on activity (#27008)
* color logs

* remove space

* update in updateColors
old-commit-hash: b2675cef9a9d4993859b0cd924a1ca74281024f9
2023-01-24 11:36:40 -08:00