Dean Lee
cb5c7d76f6
cabana: improve drag&drop ( #27842 )
...
improve drag&drop
draw shadow effect
old-commit-hash: 8f118220e6
2 years ago
Dean Lee
f81f65dc77
cabana: support dragging chart between tabs ( #27838 )
...
drag chart between tabs
old-commit-hash: f4f836e2a9
2 years ago
Dean Lee
5f106c8ca3
cabana: support multiple tabs in ChartsView ( #27833 )
...
* support multiple tabs charts
* new tab button right
old-commit-hash: 424bd0c0b6
2 years ago
Dean Lee
e5b3ebbf36
cabana: drag&drop to change chart order ( #27832 )
...
old-commit-hash: 409bfcacb7
2 years ago
Dean Lee
1db81fb496
cabana: improve chart drag and drop ( #27820 )
...
* improve drag/drop
* change alpha to 180
* cleanup
* cleanup
* draw drop indicator
old-commit-hash: 23e420448b
2 years ago
Dean Lee
64e407ba5f
cababa: display '--' in chart tooltip if no min max values ( #27798 )
...
old-commit-hash: a556d23483
2 years ago
Dean Lee
688247e659
cabana: support undo/redo zoom ( #27799 )
...
* support updo/redo zoom
* cleanup eventsMerged
* init axis_x when create chart
* update tool bar after create chart
* align charts after updatelayout
old-commit-hash: c5f5a3b5f2
2 years ago
Dean Lee
ca1fe711af
cabana: fix chart background issue in live mode ( #27793 )
...
* fix background
* Update tools/cabana/chartswidget.cc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea91532ac1
2 years ago
Dean Lee
07c2eb11a9
cabana: dynamic update chart tooltip ( #27790 )
...
dynamic update tooltip
dont emit serieschanged if no charts
old-commit-hash: 7c7347a9e6
2 years ago
Dean Lee
07e11f1331
cabana: support toggle between light / dark theme ( #27787 )
...
add dark theme
old-commit-hash: c56872265a
2 years ago
Dean Lee
5d9ec5abe7
cabana: significantly reduce CPU usage by caching chart to pixmap ( #27786 )
...
* caching chart to pixmap
* cleanup
* fill with QPalette::Base
old-commit-hash: 0cee9d4e78
2 years ago
Dean Lee
b37c3cf282
cabana: fix chart tooltip issues ( #27778 )
...
old-commit-hash: 6bbcbab3f7
2 years ago
Dean Lee
714e3802f2
cabana: fixed chat tool tips was displayed outside of the viewport ( #27770 )
...
old-commit-hash: aa3b8e5f30
2 years ago
Dean Lee
bba08e9e07
cabana: display signal value in all charts on mouse hover ( #27749 )
...
* display all values
* cleanup
* cleanup
* emit hoverd if tip is visible
old-commit-hash: 15a4b60ee6
2 years ago
Willem Melching
b308533897
cabana: show min and max values in chart tooltip ( #27744 )
...
old-commit-hash: ced90c163e
2 years ago
Willem Melching
306e24a062
cabana: fix parts of chart widget not being redrawn ( #27742 )
...
* cabana: fix parts of chart widget not being redrawn
* revert others
old-commit-hash: bec8cb1e30
2 years ago
Willem Melching
969efb868f
cabana: allow zooming to smaller ranges ( #27748 )
...
* cabana: allow zooming to smaller ranges
* remove comment
old-commit-hash: cf299002f7
2 years ago
Dean Lee
9897bc83c4
cabana: add a slider to set sparkline time range ( #27727 )
...
* add slider to set sparkline time range
* rename signaleedit to signalview
* default is 15s
* util::formatSeconds
* update() is faster than invalidate
* draw points
* fix scatter width
old-commit-hash: d6961152b8
2 years ago
Dean Lee
7ffea181b7
cabana: add sparkline to signal view ( #27717 )
...
* display small line chart beside signal
* TODO
* 1 px width
* auto stretch
* static lines
* use std::vector
* cleanup
* use ts from last message
* remove hardcorded size
old-commit-hash: eee3c8ee60
2 years ago
Dean Lee
ad5b489005
cabana: clear zoom stack after reset zoom ( #27716 )
...
old-commit-hash: 2f954a50e3
2 years ago
Willem Melching
cfa62044d6
cabana: go to previous zoom window ( #27702 )
...
* cabana: go to previous zoom level
* zoom undo on right click
* catch mousepress event on linux
old-commit-hash: e4348dc45d
2 years ago
Dean Lee
ac56a33a2d
cabana: fix high DPI issues in chart ( #27694 )
...
old-commit-hash: c77a0feab4
2 years ago
Dean Lee
66a7d0b8a3
cabana: enables user to select the zoom area when the mouse press on the data point ( #27679 )
...
zoom anywhere
old-commit-hash: 33afefd346
2 years ago
Dean Lee
634a089845
cabana: sets the line width with floating point precision. ( #27653 )
...
old-commit-hash: dcbadc554d
2 years ago
Dean Lee
4cf04f5b0a
cabana: display zoom range while dragging rubber-band selection ( #27620 )
...
old-commit-hash: 529ba41825
2 years ago
Dean Lee
35e5b4d927
cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) ( #27601 )
...
* refactor streams
* helper function xLessThan
* fix fill gaps
old-commit-hash: 74db5a4b42
2 years ago
Dean Lee
ee692c5bec
cabana: eliminate deep copy of events in live stream mode ( #27588 )
...
old-commit-hash: f00c108acb
2 years ago
Willem Melching
918bad4847
cabana: DBCManager only expose methods/signals through MessageId ( #27540 )
...
old-commit-hash: 0afd3bab34
2 years ago
Dean Lee
c95ca5a1d5
cabana: fix hang on scrubbing in zommed chart ( #27568 )
...
old-commit-hash: d09a9a08fc
2 years ago
Willem Melching
e8105f0413
cabana: extend max chart range to 30 minutes ( #27555 )
...
old-commit-hash: fc44ed63d7
2 years ago
Willem Melching
f0d648d8c6
cabana: refactor Msg and Signal into dbc.cc ( #27552 )
...
old-commit-hash: e4d591ecbf
2 years ago
Willem Melching
ed75ea1836
cabana: scrub by shift dragging on graph ( #27545 )
...
* cabana: scrub by shift dragging on graph
* not while live streaming
old-commit-hash: b79f4594c4
2 years ago
Dean Lee
ca0b965d08
cabana: use a segment tree to solve range queries in O(log n) time complexity ( #27498 )
...
old-commit-hash: c2018d6bf2
2 years ago
Dean Lee
3cbcd532ac
cabana: fix wrong tooltip ( #27480 )
...
old-commit-hash: afc24f08d6
2 years ago
Dean Lee
2026a1b454
cabana: recalc y-axis label width after unit change ( #27466 )
...
recalc width
old-commit-hash: 85a37d276c
2 years ago
Dean Lee
f78b0d0a8a
cabana: fix gaps in step line between chunks ( #27447 )
...
old-commit-hash: ce3e9d5649
2 years ago
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: 78116029d3
2 years ago
Dean Lee
db35b147ac
cabana: added a new series type to chart: step line ( #27422 )
...
* add step line series
* create buttons in createToolButtons
* add inline function clearTrackPoints
* do not show tooltip if series is invisible
* use QActionGroup
old-commit-hash: dc4ebeb29c
2 years ago
Willem Melching
eb77f1c15b
cabana: show units ( #27433 )
...
* show units on chart y axis
* show in signal list
* show in historyview
* use clear()
old-commit-hash: a5644faa3f
2 years ago
Dean Lee
f7eb48852f
cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY ( #27421 )
...
old-commit-hash: e0a6074d00
2 years ago
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: 4efd246bac
2 years ago
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: ac0dbf74bc
2 years ago
Dean Lee
c043ea7fa2
cabana: add online-help ( #27349 )
...
* add online helps
* typo
* remove duplicate 'too'
* show idle message:For Help, Press F1
* improve drawHelp
* fix color desc
old-commit-hash: 2510f78126
2 years ago
Willem Melching
c9a2d19596
cabana: refactor message id from QString to struct ( #27352 )
...
* cabana: refactor message id from QString to struct
* fix tabbar
* fix findsimilarbits
* optimize hash function
* cleanup sorting
* use in updateLastMsgsTo
old-commit-hash: 5078c91805
2 years ago
Dean Lee
1804f5cc67
cabana: cleanup code for charts ( #27350 )
...
old-commit-hash: e4d0ee8716
2 years ago
Dean Lee
c732a369da
cabana: fix two bugs in chart ( #27336 )
...
fix two bugs
old-commit-hash: a6bf26f5eb
2 years ago
Dean Lee
3ca1deaa69
cabana: set legend marker shape by the series type ( #27296 )
...
set legend marker shape by the series type
old-commit-hash: 507badb117
2 years ago
Dean Lee
1bca6bac01
cabana: fix y axis precision ( #27299 )
...
old-commit-hash: 3d2c156bbd
2 years ago
Dean Lee
41500839a2
cabana: set pen width in createSeries ( #27288 )
...
old-commit-hash: 409c1c9c65
2 years ago
Dean Lee
cff6df8b8c
cabana: set series color in createSeries ( #27270 )
...
* set color in createSeries
* fix
old-commit-hash: 37abe37117
2 years ago