Dean Lee
2d37c219e7
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
2023-07-05 10:50:14 -07:00
Cameron Clough
bc5a899024
UI: improved nav destination entry ( #28476 )
2023-06-22 19:57:29 +01:00
Dean Lee
9295aca8ea
ui: disable longitudinal personality settings when using stock long ( #28443 )
...
* disable longitdinal personality settings
* disable title label
* Revert "disable title label"
This reverts commit ef315ac2770191f1309f774185266e0cd9fe54b0.
* gray checked button on disable
2023-06-08 16:03:18 -07:00
Shane Smiskol
a92cd659ce
ButtonParamControl: minimum button width ( #28442 )
...
* min width
* param
2023-06-07 01:11:41 -07:00
Dean Lee
7f41047178
ui: refactor ButtonParamControl ( #28425 )
...
* refactor ButtonParamControl
* add pressed style
* connect to buttonToggled
* typo
2023-06-06 01:18:17 -07:00
Harald Schäfer
205c900742
Driving Personality setting (also changes follow distance) ( #24742 )
...
* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard
2023-06-05 22:17:41 -07:00
Shane Smiskol
797c626984
ui: handle two dynamic toggle icon cases ( #26517 )
...
handles two cases
2022-11-15 21:07:11 -08:00
Shane Smiskol
62024176c6
ui: toggle control supports active icons ( #26514 )
...
* support active icons
* function
* fix crash if not setting icon but active icon
* revert
* clean up
2022-11-15 20:52:31 -08:00
Shane Smiskol
b3f75b0c5b
ui: function for setting toggle confirmation settings ( #26516 )
...
function for setting confirmation settings
2022-11-15 20:46:42 -08:00
Shane Smiskol
2ad9a4f95a
offroad ui: support storing confirmation of a toggle ( #26510 )
...
* show confirmation toggle on first toggle of experimental mode
* don't store confirmation if users toggle off *after* this PR
* refactor
* cleaner
* not true
* try here
2022-11-15 16:44:03 -08:00
Shane Smiskol
a3cd50c5bb
ParamControl dialog: more explicit confirmation text ( #26431 )
...
* Use enable
* vanish
* fill in missing translation
* Update selfdrive/ui/translations/main_pt-BR.ts
2022-11-09 19:38:17 -08:00
Cameron Clough
f38fe7cfb1
ui: increase toggle confirmation font size ( #26413 )
...
* ui: make toggle confirmation text larger
* center title
* reduce line breaks
* slightly reduce font size
2022-11-09 14:53:41 -08:00
Cameron Clough
91a1f1a91e
ui: toggle confirmation and dialog redesign ( #26331 )
...
* toggle confirmation
* change text
* not for e2e
* get current description
* remove are you sure
* merge rich text and confirmation dialogs
* add some line breaks
* font colour
* fix padding a little
* revert
* updated toggle design
2022-11-04 15:37:41 -07:00
Adeeb Shihadeh
4639862bae
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
2022-10-25 15:21:43 -07:00
Adeeb Shihadeh
c4e63d14ab
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
2022-09-15 15:12:36 -07:00
Adeeb Shihadeh
6136868557
ui: fix network page crash
2022-09-08 11:39:54 -07:00
Adeeb Shihadeh
3ef37fe2e8
split out experimental long toggle ( #25698 )
...
* split out experimental long toggle
* clean up
* update translations
2022-09-07 20:38:04 -07:00
Adeeb Shihadeh
655a64b603
single longitudinal toggle for e2e and disable radar ( #25688 )
...
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
2022-09-07 17:12:49 -07:00
Adeeb Shihadeh
cc3857eb62
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai >
2022-07-18 21:18:10 -07:00
Dean Lee
dc3d94d662
UI: fix unable to scroll on 'Regulatory' page ( #25014 )
...
* fix unable to scroll on 'Regulatory' page
deleteLater after hide
* remove alert
* override exec
* set MousePressEventDelay to 0
* set to 0.01
* cleanup
* check event->pos()
2022-07-07 15:01:02 -07:00
Adeeb Shihadeh
cb8885cffb
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
2022-05-18 14:11:57 -07:00
Shane Smiskol
4802c864d5
ui: repaint toggles after offroadTransition ( #24038 )
...
* repaint after offroadTransition
* Update selfdrive/ui/qt/widgets/controls.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2022-03-25 13:52:22 -07:00
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
2021-12-14 11:00:01 +01:00
Dean Lee
abffc8b2ad
UI: new class ListWidget ( #21273 )
...
* ListWidget
* continue
* remove function horizontal_line
* cleanup
* default spacing 25
* fix networkpanel margin on EON
* solid expanding
* 0 width
* cleanup
* apply reviews
* remove function addLayout,make it looks like QLIstWidget
* rename addWidget to addItem
* rebase master
* rebase master
* merge master
* cleanup
* fixed title bar position
* no flash while folding
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-09-19 15:14:54 -07:00
Adeeb Shihadeh
d5475ba946
nav: add button to clear current route ( #22167 )
...
* nav: add button to clear current route
* fix scroll
* retab
Co-authored-by: Comma Device <device@comma.ai >
2021-09-07 17:39:24 -07:00
Dean Lee
1786416e3c
ui: clickable ElidedLabel ( #21773 )
...
* ElidedButton
* rename to ClickableLabel
* move to ElidedLabel
2021-08-30 22:16:48 -07:00
Adeeb Shihadeh
0ffe920a86
UI: update toggles on show ( #21812 )
2021-07-30 16:21:42 -07:00
Adeeb Shihadeh
9215748080
UI: button released -> clicked ( #21606 )
2021-07-17 13:58:09 -07:00
Dean Lee
aee2b893a7
Qt: new class ElidedLabel ( #21277 )
...
* shorten ssid
* truncate with ellipsis
* rename to trancate
* truncate 22 characters
* elidedLabel
* trimmed
* remove function elidedString
* cache elidedTest
* rebase master
* minimizeSizeHint
* add sizeHint
* cleanup
* revert
* inherit from QLabel
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-07-10 01:43:47 -07:00
Dean Lee
8675c970d4
UI: refactor ButtonControl ( #21315 )
2021-06-17 23:17:52 -07:00
Dean Lee
2c6d27f482
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
2021-06-16 00:08:02 -07:00
Dean Lee
7009ba0344
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-06-12 21:36:35 -07:00
Maxime Desroches
3c058e0b64
UI: add missing override identifiers ( #21081 )
2021-05-30 10:12:11 +02:00
Dean Lee
7222d0f20d
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
2021-05-08 22:15:17 -07:00
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
2021-05-03 11:53:11 +02:00