Shane Smiskol
74aa9e5b80
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
old-commit-hash: 2ad9a4f95a
2 years ago
Shane Smiskol
b2e82d028a
ParamControl dialog: more explicit confirmation text ( #26431 )
...
* Use enable
* vanish
* fill in missing translation
* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: a3cd50c5bb
2 years ago
Cameron Clough
07282a9aeb
ui: increase toggle confirmation font size ( #26413 )
...
* ui: make toggle confirmation text larger
* center title
* reduce line breaks
* slightly reduce font size
old-commit-hash: f38fe7cfb1
2 years ago
Cameron Clough
f46b6ed70a
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
old-commit-hash: 91a1f1a91e
3 years ago
Adeeb Shihadeh
2bb68d4c29
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
old-commit-hash: 4639862bae
3 years ago
Adeeb Shihadeh
46cfb5c45b
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
old-commit-hash: c4e63d14ab
3 years ago
Adeeb Shihadeh
03f6c8e269
ui: fix network page crash
...
old-commit-hash: 6136868557
3 years ago
Adeeb Shihadeh
c6e4fb646d
split out experimental long toggle ( #25698 )
...
* split out experimental long toggle
* clean up
* update translations
old-commit-hash: 3ef37fe2e8
3 years ago
Adeeb Shihadeh
e4f9781c17
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
old-commit-hash: 655a64b603
3 years ago
Adeeb Shihadeh
95df2c9b48
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cc3857eb62
3 years ago
Dean Lee
92da40952f
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()
old-commit-hash: dc3d94d662
3 years ago
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
Shane Smiskol
769c76a773
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>
old-commit-hash: 4802c864d5
3 years ago
Dean Lee
b462e5584f
move LayoutWidget,ClickableWidget to controls ( #23207 )
...
old-commit-hash: d4b8cba0f6
3 years ago
Dean Lee
2fefa32476
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>
old-commit-hash: abffc8b2ad
4 years ago
Adeeb Shihadeh
706542a7b2
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>
old-commit-hash: d5475ba946
4 years ago
Dean Lee
bdc758e769
ui: clickable ElidedLabel ( #21773 )
...
* ElidedButton
* rename to ClickableLabel
* move to ElidedLabel
old-commit-hash: 1786416e3c
4 years ago
Adeeb Shihadeh
c5959d74a8
UI: update toggles on show ( #21812 )
...
old-commit-hash: 0ffe920a86
4 years ago
Adeeb Shihadeh
17faf6e48f
UI: button released -> clicked ( #21606 )
...
old-commit-hash: 9215748080
4 years ago
Dean Lee
24563f4b11
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>
old-commit-hash: aee2b893a7
4 years ago
Dean Lee
95a9e22120
UI: refactor ButtonControl ( #21315 )
...
old-commit-hash: 8675c970d4
4 years ago
Dean Lee
d8ac1df789
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
old-commit-hash: 2c6d27f482
4 years ago
Dean Lee
71b346b3e8
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7009ba0344
4 years ago
Maxime Desroches
88ae07b37b
UI: add missing override identifiers ( #21081 )
...
old-commit-hash: 3c058e0b64
4 years ago
Dean Lee
e333e4f189
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>
old-commit-hash: 7222d0f20d
4 years ago
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f
4 years ago
Adeeb Shihadeh
d1d828ad1e
UI: fix initial toggle state after #20670
...
old-commit-hash: a60effc112
4 years ago
iejMac
5dddcac027
UI: Reset settings state when hiding panels ( #20670 )
...
* git stat
* first panel and button reset
* progress
* toggles parent + list
* check if label nullptr
* style
* fixes
* fixes
* remove line
* white space
* tabs and spaces
old-commit-hash: 928fbecec0
4 years ago
Dean Lee
d33538e5f3
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 57fe8488ac
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
iejMac
4a3e73ddb5
disable buttons when onroad ( #20475 )
...
* disables reset calib
* works for all buttons
* naming convention + final works on PC
* stylesheets + works on manager.py
* fixing stylesheet
* add that backg
* no reviewing while onroad
* better disabled hint
* little cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d63dab950a
4 years ago
Adeeb Shihadeh
30f036680b
Qt touchups ( #20465 )
...
* reduce minimum size
* clean that up
* consistent
* feels pretty good
* cleanup
* less laggy toggle
* openpilot
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f56991b41
4 years ago
Adeeb Shihadeh
da90758a55
add descriptions in settings ( #20453 )
...
* add descriptions
* scroll scroll
* clean up
* try this
* scrolling on touch
* better scrolling
* we can afford 30fps
* remove that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c89e17e0d5
4 years ago
Adeeb Shihadeh
e2eb4034f5
small style improvement in settings
...
old-commit-hash: 647c5804b8
4 years ago
Adeeb Shihadeh
c360723411
Qt UI: SSH keys ( #20430 )
...
* rename
* toggle control
* SSH toggle
* hw
* qcom
* lines
* fix that
* start refactoring
* adding keys
* hacky remove
* alerts
* fix qcom ssl
* use the same widgets everywhere
* clean up
* more cleanup
* little more
* bigger
* fix tethering toggleg
old-commit-hash: e547a97216
4 years ago
Dean Lee
d7cf75fc64
Qt: use the AbstractControl for multiple types of controls ( #20417 )
...
* class ClickableLabel
* scrollable widget
* rename to controls.cc
* rename to AbstractControl
* cleanup
* remove useless stylesheets
* change button stylesheet
* cleanup
* better margin
* cleanup
cleanup
* remove bottom line from AbstractControl
* no scrolling for now
* add those back
* style
* clean up
* don't need a function for that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8be2e07f4f
4 years ago