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: bec8cb1e30c91b150008ef600b42abaf48e1641a
2023-03-30 12:37:49 -07:00
Willem Melching
969efb868f
cabana: allow zooming to smaller ranges ( #27748 )
...
* cabana: allow zooming to smaller ranges
* remove comment
old-commit-hash: cf299002f73d121ed2e7afb69f9ff68567ac62cd
2023-03-30 12:36:34 -07:00
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: d6961152b824518f584d2ffad831312447d79d5f
2023-03-29 12:43:43 -07:00
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: eee3c8ee6007918d8a5ebf80ab236659a4738356
2023-03-28 13:25:13 -07:00
Dean Lee
ad5b489005
cabana: clear zoom stack after reset zoom ( #27716 )
...
old-commit-hash: 2f954a50e3b34b8a38878bf8dbd37e359c0c6d3f
2023-03-28 11:50:19 -07:00
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: e4348dc45d383c5ef0622b3bbf5dcd659081e5bb
2023-03-27 12:45:55 -07:00
Dean Lee
ac56a33a2d
cabana: fix high DPI issues in chart ( #27694 )
...
old-commit-hash: c77a0feab4e8474f73e47d7f111f3f41f0d68ff3
2023-03-25 15:38:41 -07:00
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: 33afefd346e4348aacb122a486066741731b7d05
2023-03-24 21:54:41 -07:00
Dean Lee
634a089845
cabana: sets the line width with floating point precision. ( #27653 )
...
old-commit-hash: dcbadc554d009c0e8d5c9a034cf748391c5015a8
2023-03-22 10:27:23 -07:00
Dean Lee
4cf04f5b0a
cabana: display zoom range while dragging rubber-band selection ( #27620 )
...
old-commit-hash: 529ba41825c3d47ee6f322ddecc8471d8e0cdd3a
2023-03-18 14:34:11 -07:00
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: 74db5a4b421c822065677b12c4493c4e20aa2a9b
2023-03-17 10:16:14 -07:00
Dean Lee
ee692c5bec
cabana: eliminate deep copy of events in live stream mode ( #27588 )
...
old-commit-hash: f00c108acb49bb633167dfdfcbdf84461cf59025
2023-03-15 10:54:22 -07:00
Willem Melching
918bad4847
cabana: DBCManager only expose methods/signals through MessageId ( #27540 )
...
old-commit-hash: 0afd3bab34432e0ba83818c264f17e3ef16005df
2023-03-14 11:31:04 -07:00
Dean Lee
c95ca5a1d5
cabana: fix hang on scrubbing in zommed chart ( #27568 )
...
old-commit-hash: d09a9a08fc21edc03edeb40e1080d8495a7d2915
2023-03-13 10:25:16 -07:00
Willem Melching
e8105f0413
cabana: extend max chart range to 30 minutes ( #27555 )
...
old-commit-hash: fc44ed63d78c3b45020db1130dae41f597c91e18
2023-03-11 12:47:53 -08: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
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: b79f4594c42b4af0fc371b5d48445ce86c1cb3ff
2023-03-09 13:14:06 -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
3cbcd532ac
cabana: fix wrong tooltip ( #27480 )
...
old-commit-hash: afc24f08d66c34ccebf3143e5062390e8529f26f
2023-03-01 21:54:07 -08:00
Dean Lee
2026a1b454
cabana: recalc y-axis label width after unit change ( #27466 )
...
recalc width
old-commit-hash: 85a37d276c105494b97eee03aa6bb31a212f2f92
2023-02-28 23:41:28 -08:00
Dean Lee
f78b0d0a8a
cabana: fix gaps in step line between chunks ( #27447 )
...
old-commit-hash: ce3e9d5649d930ea0daae2d2a1587cc6e69c158b
2023-02-27 15:51:23 -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
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: dc4ebeb29c569c2b3bc9c687778b6e4ed754d329
2023-02-23 10:45:59 -08:00
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: a5644faa3f1095c2aa36b12e534fbba1b2ac921d
2023-02-23 10:45:13 -08:00
Dean Lee
f7eb48852f
cabana: remove setUpdatesEnabled and setLabelFormat after updateAxisY ( #27421 )
...
old-commit-hash: e0a6074d00df9fafaa2b6d5e2d0fa01b154cce2f
2023-02-22 11:45:05 -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
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: 2510f78126b0a457b5e8b42f1f32e5bf24a2c045
2023-02-16 14:47:36 -08:00
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: 5078c918056c189a3ec84bc63231fbae75c57eda
2023-02-15 12:39:03 -08:00
Dean Lee
1804f5cc67
cabana: cleanup code for charts ( #27350 )
...
old-commit-hash: e4d0ee8716c382e90fd725998216a2f7deafc592
2023-02-15 10:59:57 -08:00
Dean Lee
c732a369da
cabana: fix two bugs in chart ( #27336 )
...
fix two bugs
old-commit-hash: a6bf26f5eb5a3cb4059783ce538901b7562a96db
2023-02-14 00:46:13 -08:00
Dean Lee
3ca1deaa69
cabana: set legend marker shape by the series type ( #27296 )
...
set legend marker shape by the series type
old-commit-hash: 507badb11717e23681ddaf7a3f54ebe348978aef
2023-02-13 14:40:47 -08:00
Dean Lee
1bca6bac01
cabana: fix y axis precision ( #27299 )
...
old-commit-hash: 3d2c156bbdfe455b97e6852882c5576600c6a600
2023-02-10 13:40:39 -08:00
Dean Lee
41500839a2
cabana: set pen width in createSeries ( #27288 )
...
old-commit-hash: 409c1c9c6558850bbced8ba05bf125102e6543bb
2023-02-10 10:13:28 -08:00
Dean Lee
cff6df8b8c
cabana: set series color in createSeries ( #27270 )
...
* set color in createSeries
* fix
old-commit-hash: 37abe3711788d87255b6b1719ea2dc30f0b57522
2023-02-09 10:37:37 -08:00
Dean Lee
9bd4af9781
cabana: imporve series selector dialog ( #27266 )
...
* imporve series selector dialog
* typo
old-commit-hash: f4f081c56209a2fc0669e76e881821b43830462c
2023-02-08 15:18:07 -08:00
Dean Lee
f01f51a22a
cabana: fix coredump caused by getColor in updateSeries ( #27265 )
...
old-commit-hash: 99f12ca7f31a1d6ac8a54254f30d4a31ce628268
2023-02-08 13:29:16 -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
Dean Lee
c11699e717
cabana: set correct geometry for legend ( #27260 )
...
old-commit-hash: 80bf755b075b2b56373b4ca49c2c95d1837e7648
2023-02-08 12:40:43 -08:00
Dean Lee
6b6d5320db
cabana: add space between signal and msg name ( #27252 )
...
old-commit-hash: 583057aa413f533e761ce869abd69f2fedef39b9
2023-02-07 21:46:59 -08:00
Dean Lee
8a5dfaa35d
cabana: remove toolbutton padding ( #27240 )
...
* remove toolbutton padding
* fix incorrect checked state in setSeriesType
old-commit-hash: 55ad7ee3cb50256bdc16c6777e2432bcf9f702eb
2023-02-06 21:14:07 -08:00
Dean Lee
3daa82e5a1
cabana: paint points in drawForeground instead of switching opengl mode ( #27239 )
...
old-commit-hash: ae99a6d15d363ac01f970f266dd7bc7a13ae7366
2023-02-06 18:58:24 -08:00
Dean Lee
b31e9b5bb8
cabana: improve charts toolbar ( #27233 )
...
* improve toolbar
* add text
old-commit-hash: 8f6521ded3c06b52f0d3c1389e4077be3f184329
2023-02-06 18:57:37 -08:00
Dean Lee
d318513c33
cabana: fixed wrong plot area after changed column count ( #27228 )
...
old-commit-hash: 1a99fd36101fbe4cbe9853b1df5dfe6c59fea5c4
2023-02-06 16:39:16 -08:00
Dean Lee
bd2e71260e
cabana: click on legend to show/hide series ( #27231 )
...
* click on legend to show/hide series
* update axis y
* add move icon
old-commit-hash: f9de6a0dd876352dacc843ef2b28fb2456771239
2023-02-06 10:18:44 -08:00
Dean Lee
c1b3ff34ea
cabana: concurrently update chart series ( #27230 )
...
old-commit-hash: 1ecda86e51ad3dfefa87a9cebd28370d57ed55fb
2023-02-06 10:17:58 -08:00
Dean Lee
1958d92206
cabana: fix incorrect clamp ( #27218 )
...
* fix incorrect clamp
* fix type error
old-commit-hash: 4117986520e539aa2a6288538c940728ccb89884
2023-02-05 14:50:32 -08:00
Dean Lee
6bd72c1d19
cabana: only relayout charts when needed ( #27210 )
...
old-commit-hash: 54f3ca43bb72f697a5a2fc90d3c26f7301a48cd0
2023-02-05 12:35:30 -08:00
Dean Lee
e58743cbea
cabana: improve align charts ( #27217 )
...
* improve align charts
* set range on need
* cleanup
* remove unused include
old-commit-hash: 9b054af8b6943ffea8d26a4dadb6cfe8fbefe990
2023-02-05 12:35:15 -08:00
Dean Lee
8d359ca270
cabana: fix incorrect point size after adding new series to chart or changing series type ( #27199 )
...
* update pointers after create series
* cleanup
old-commit-hash: d6516059bd757b1e23c94808187b2dbc38786ca8
2023-02-03 13:03:01 -08:00