Shane Smiskol
58b84fb401
ui: offroad experimental mode button ( #26498 )
...
* draft
* draft
* before qpushbutton
* icon, clean up button, clicked goes to toggles
* fix icon
* add imgs
* img
* make square
* works with layouts!
* fix gradient
* this looks good
* clean up
* clean up
* remove padding around couch
* use scene's experimental_model, new onroad design
* rename widget
* def want 3
* update translations
* add img
* add 25px of padding!
* make 300px (no change)
* clean up old images
* 5 px smaller
* add white img
* fix from merge
* no style sheets
* see how this looks on device
* aliased vertical line (clean up)
* clean up
* imgs
* couch
* delete
* bye bye
* expand toggle support
* clean up
* fix dynamic icon
* make exp icon dynamic
* order
* move to offroad
2 years ago
Shane Smiskol
797c626984
ui: handle two dynamic toggle icon cases ( #26517 )
...
handles two cases
2 years ago
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
2 years ago
Shane Smiskol
b3f75b0c5b
ui: function for setting toggle confirmation settings ( #26516 )
...
function for setting confirmation settings
2 years ago
Adeeb Shihadeh
c6e3d566e9
update experimental mode disabled description
2 years ago
Dean Lee
97a205c94d
UI: fix CameraView crash on deleting. ( #26390 )
...
* fix crash on delete
* TODO?
* after makeCurrent
2 years ago
Adeeb Shihadeh
f3efc8998c
taco time
2 years ago
Adeeb Shihadeh
9c96b21367
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
2 years ago
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
2 years ago
Shane Smiskol
7fcafa4022
ui: stretch abstract control title ( #26499 )
...
stretch toggle title so it's easier to expand
2 years ago
Shane Smiskol
4efb01ece2
Toggle titles: proper capitalization ( #26438 )
...
* proper caps
* update translations
update translations
update translations
* Update selfdrive/ui/translations/main_pt-BR.ts
3 years ago
Shane Smiskol
0941e40177
ui: static color non-e2e path ( #26406 )
...
* remove orientation color changing
* "just green"
3 years ago
Shane Smiskol
af84f1b350
experimental long toggle: adjust description ( #26437 )
...
* Spell out AEB
* vanish
3 years ago
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
3 years ago
Shane Smiskol
5a3c5e7a4b
Multilang: clean up translation string ( #26435 )
...
* update translations
* do pt
* do pt
* do ko
* do ko
* Update selfdrive/ui/translations/main_pt-BR.ts
3 years ago
Adeeb Shihadeh
1fda075c73
UI: add set speed clarification for e2e long
3 years ago
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
3 years ago
Adeeb Shihadeh
9a3f468051
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
3 years ago
Adeeb Shihadeh
5960ba5def
UI: widecam only in e2e mode ( #26412 )
3 years ago
Shane Smiskol
ed3bf4f123
onroad ui: fix opacity affecting other drawn icons ( #26378 )
...
* save painter in drawIcon
* fix
* Update selfdrive/ui/qt/onroad.cc
3 years ago
Shane Smiskol
e079751f79
ui: revert e2e path changes ( #26382 )
...
* Revert "ui: fade to default path color when inactive (#26375 )"
This reverts commit 0b385a5650
.
* Revert "ui: minor e2e path tweaks (#26351 )"
This reverts commit d257e28479
.
* stronger colors
45
3 years ago
Shane Smiskol
0b385a5650
ui: fade to default path color when inactive ( #26375 )
...
* fade to default path color when inactive
* long!
3 years ago
Cameron Clough
e78280da12
ui: set dialog confirm button text ( #26365 )
...
* ui: set dialog confirm button text
* short
* blue confirm
3 years ago
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
3 years ago
Shane Smiskol
d257e28479
ui: minor e2e path tweaks ( #26351 )
...
* new e2e path
* clean up
* fix
* 2.5 seconds feels disjointed
3 years ago
Adeeb Shihadeh
c171fe9f9a
UI: draw onroad objects on right frame ( #26306 )
...
* update before draw
* fix a lot of janky
* fix more flicker
* cleanup
* fix flicker when opening settings
* simplify
3 years ago
Kurt Nistelberger
0c03fb1be4
Revert "remove black connecting background"
...
This reverts commit eecd698205
.
3 years ago
Kurt Nistelberger
eecd698205
remove black connecting background
3 years ago
Dean Lee
602b90f518
UI: reduce frame drops. ( #26266 )
...
* reduce frame dropping
* This mode will not draw the same frame twice
* cleanup comment
* use previous texture if update is not triggered by vipc thread and without new frame
3 years ago
HaraldSchafer
dbc30c053c
UI: fade into wide camera ( #26203 )
...
* UI: fade into wide camera
* handle routes with no wide calib
* more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Dean Lee
6b6162d2c8
UI: support switching streams in CameraView ( #26248 )
3 years ago
Adeeb Shihadeh
4639862bae
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
3 years ago
HaraldSchafer
baca1cae1f
UI Onroad widget renames ( #26124 )
...
Consistent widget naming
3 years ago
Adeeb Shihadeh
15b8c7d1dc
ui: publish draw times + add test ( #26119 )
...
* ui: publish draw times + add test
* add some checks
* adjust
* fix linter
* update max
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Cameron Clough
c6b8a253e6
networking: fix metered setting ( #26113 )
...
when metered set unknown, when unmetered set no
3 years ago
Adeeb Shihadeh
06e283a750
UI: only show cell settings on non-prime connection ( #25067 )
...
* fix indentation
* add primeTypeChanged signal to uiState
* hide advanced networking toggles on prime type change
* switch between map settings on prime type change
* cleanup
* remove duplicate code, wait for signal
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
3 years ago
Cameron Clough
f611960391
networking: add unmetered cellular toggle ( #25902 )
...
* add metered toggle to UI
* add GsmMetered param
* add NMMetered constants
* change LTE connection settings: connection.metered
* change to GsmUnmetered override
* update translations
* debug ui
* remove comment
* Revert "debug ui"
This reverts commit 2ad9e65ea2
.
* 'Force Unmetered Cellular' toggle
* update translations
* remove description
* update translations
* change unmetered to metered
3 years ago
Adeeb Shihadeh
f52dea7d84
ui: add support for dual cams ( #25876 )
3 years ago
Dean Lee
90f0f04d26
sidebar: call update in offroadTransition ( #25856 )
3 years ago
Cameron Clough
1379989e0d
sidebar: add button pressed states ( #25848 )
...
* add flag img
* add image assets
* try darker button pressed
* remove pressed image, set opacity instead
* settings can be pressed too!
* cleanup
* make settings button white
* bookmark
3 years ago
royjr
e4612ac4c4
ui: fix toggle spacing issue ( #25831 )
3 years ago
Dean Lee
aa0d128422
ui: always show SetupWidget ( #25742 )
...
* always show SetupWidget
update translations
* delete hide
3 years ago
Dean Lee
f0665911b2
map: fix repeated call to m_map->setZoom ( #25784 )
...
Fix repeated map api calls
3 years ago
Jason Wen
b7d9f157fa
Updater: Reboot instead of shutdown to install new branch ( #25804 )
...
Reboot instead of shutdown to install new branch
3 years ago
Shane Smiskol
64c2d4b30f
Wrap new UI strings
3 years ago
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
3 years ago
Dean Lee
578b8fba1a
networking: create scanning label once ( #25782 )
...
* create scanning label only once
* rename
* fix
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Dean Lee
1b0f202d7b
ui: prev_frame_id should be uint32_t ( #25781 )
...
uint32_t
3 years ago
Dean Lee
27e1ec8fd3
ui: multilang date ( #25741 )
...
* multilang date
* update translations
* add language to uistate
* update translations
* use it here too
Co-authored-by: sshane <shane@smiskol.com>
3 years ago
Dean Lee
ef767f6332
MapPanel: refresh only when visible and destination changes ( #25739 )
...
rebuild widgets only when mappanel is visible
3 years ago