Dean Lee
9caed10c23
ui: cleanup setMainWindow ( #28768 )
...
* cleanup
* revert that
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 289fd32699
2 years ago
Dean Lee
96b9902629
ui/map: reuse the Qlabels and remove call to `clearLayout` ( #28788 )
...
* dont clearlayout
* replace show with setVisible
* remove signals&connections, call updateDistance in updateInstructions
* refactor updateDistance to getDistance
old-commit-hash: e1ea1d58e4
2 years ago
Dean Lee
d70f51a8db
ui/map: use overlay widget to simplify code and improve rendering performance ( #28800 )
...
* move widgets into overlay
* adjust margin
* add spacing
old-commit-hash: 7a42e51c90
2 years ago
Dean Lee
0c814c0cf9
ui/map: draw ETA with rich formatted text ( #28780 )
...
* draw ETA with rich formatted text
* no rounded at the bottom corners
* add Params param to member
* fix font typo
* restore opendbc
* set antialiasing
* fix time format
old-commit-hash: 060490bdf1
2 years ago
Dean Lee
a3849a0836
ui/ExperimentalButton: Initialize `engageable` to false ( #28846 )
...
old-commit-hash: bde531d0bc
2 years ago
Adeeb Shihadeh
5d520dc7ae
ui: add nav to prime features ( #28842 )
...
old-commit-hash: 99f9d21e4b
2 years ago
Dean Lee
ccba136b64
ui: remove function `configFont`. use `struct InterFont ` ( #28773 )
...
old-commit-hash: 219590885f
2 years ago
Jason Young
089a09a92a
nav ui: restore speed-adaptive map zoom level ( #28796 )
...
Revert "map: fix repeated call to m_map->setZoom (#25784 )"
This reverts commit 00cc1831bb13d838ba5df4fdfc6c071f7c704493.
old-commit-hash: e816c81a5a
2 years ago
Dean Lee
724ef9d7ef
ui: more descriptive global names ( #28813 )
...
* rename global bdr_s to UI_BORDER_SIZE
* rename header_h to UI_HEADER_HEIGHT
* remove unused footer_h
old-commit-hash: 5991aea10a
2 years ago
Dean Lee
c25ca091ff
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
old-commit-hash: 2d37c219e7
2 years ago
Dean Lee
6b5ca3e86b
ui/wifiManager: remove obsolete methods without definition. ( #28802 )
...
old-commit-hash: 0bbe9bf46a
2 years ago
Dean Lee
c49d605320
UI: fix memory leak in MapSettings ( #28759 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 93413c43df
2 years ago
Dean Lee
38be68ff5e
ui/MapSettings: remove white border around destinations ( #28771 )
...
old-commit-hash: 081cc2eb79
2 years ago
Dean Lee
235235b2d9
modeldata.h: convert constants to uppercase ( #28769 )
...
old-commit-hash: 32c5e6aafb
2 years ago
Adeeb Shihadeh
75d92ae89c
UI: adjust opacity instead of visibility to indicate engageability ( #28765 )
...
old-commit-hash: 010ef17da5
2 years ago
Mitchell Goff
6a21c44d90
UI: Indicate when Nav on OP is enabled ( #28665 )
...
* Indicate whether nav is enabled in UI
* update border spacing on both enabled and navEnabled change
* update less
* more
* cleanup
* simplify
* fix
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: a66135665c
2 years ago
Dean Lee
a8f8d0b512
ui/settings: allow driving personality without CarParams ( #28753 )
...
* allow driving personality without CarParams
* rename to hasLongitudinalControl
* Update selfdrive/ui/qt/util.cc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5493cb4289
2 years ago
Dean Lee
7ac669d510
ui/sidebar: Fix the inconsistent padding in different languages. ( #28746 )
...
cleanup
old-commit-hash: 7ac22a0d7a
2 years ago
Adeeb Shihadeh
82893982e5
Revert "ui: fix memory leak in `MapSettings` ( #28701 )"
...
This reverts commit 3ab739ea1374fc13297884b62065b0612dba7358.
old-commit-hash: 3e1ba3ff35
2 years ago
Dean Lee
666467266d
ui: fix memory leak in `MapSettings` ( #28701 )
...
old-commit-hash: 5a00b42092
2 years ago
Dean Lee
f7602512f7
ui: prevent constant clicking on experimental button ( #27865 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: c7f72698a6
2 years ago
Dean Lee
e32111a7a7
ui: ignore tap to wake device ( #28656 )
...
revert to first version
old-commit-hash: 5df45dcef4
2 years ago
Shane Smiskol
04bc7566af
ui: hide sidebar when map shows ( #28490 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: dcb769982f
2 years ago
Harald Schäfer
659fc99be4
Nav: show gps as long as it's 100m accuracy ( #28713 )
...
* Nav: show gps as long as it's 100m accuracy
* Get norm
* get std
old-commit-hash: 85c4b1a400
2 years ago
Dean Lee
458190081c
UI/AnnotatedCameraWidget: cleanup drawHud ( #28167 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 070bdcdf89
2 years ago
Harald Schäfer
ff56008ecf
Alerts: revert gradient removal ( #28686 )
...
revert gradient removal
old-commit-hash: dce060a798
2 years ago
Dean Lee
e9782ae98f
ui: scale training image to fit window ( #28454 )
...
old-commit-hash: 76ce71c6d6
2 years ago
Adeeb Shihadeh
39d1e68030
UI: border is always engagement state ( #27416 )
...
* border is for engagement state
* round shading too
* alerts =/= status
* no debug print
* Full still full
* more cleanup
* more radius
* Update mui too
* normal black
* cleanup
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 07a68ca032
2 years ago
Dean Lee
34db65aad0
ui/map_settings: remove repaint ( #28642 )
...
old-commit-hash: e8db988f2a
2 years ago
Cameron Clough
7e697a0d3d
update mapbox style ( #28638 )
...
updated map components and dataset
old-commit-hash: a2b7d2c867
2 years ago
Cameron Clough
b6e6f008f1
UI: improved nav destination entry ( #28476 )
...
old-commit-hash: bc5a899024
2 years ago
Dean Lee
1b3ba1c7ee
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 2b800cf2e7
2 years ago
Cameron Clough
fadee2464d
UI: fix DM icon margins ( #28635 )
...
old-commit-hash: bf8e815aba
2 years ago
Cameron Clough
24f246c2d9
networking: add forget btn pressed state ( #28618 )
...
old-commit-hash: 8495510c29
2 years ago
Harald Schäfer
8b0492c8fe
Alpha long control no longer called experimental ( #28437 )
...
* Fix words
* vanish
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: da3003ee41
2 years ago
Cameron Clough
727b79b66f
UI: consider border when setting map width ( #28488 )
...
old-commit-hash: 22ebd4fa8f
2 years ago
Jason Wen
f7824bffb0
offroad ui: remove irrelevant comment ( #28485 )
...
old-commit-hash: f0eef38dc0
2 years ago
Cameron Clough
e199a1a953
MapPanel cleanup ( #28474 )
...
old-commit-hash: f7f5537af7
2 years ago
Dean Lee
e5f294783f
ui: disable longitudinal personality settings when using stock long ( #28443 )
...
* disable longitdinal personality settings
* disable title label
* Revert "disable title label"
This reverts commit ef315ac277
.
* gray checked button on disable
old-commit-hash: 9295aca8ea
2 years ago
Shane Smiskol
633cdf0d0a
ButtonParamControl: minimum button width ( #28442 )
...
* min width
* param
old-commit-hash: a92cd659ce
2 years ago
Harald Schäfer
edd8fc412b
Driving personality setting: add description ( #28422 )
...
* Driving personality setting: add description
* Missing word
old-commit-hash: d6cfbd0097
2 years ago
Dean Lee
bfecfe3f8e
ui: refactor ButtonParamControl ( #28425 )
...
* refactor ButtonParamControl
* add pressed style
* connect to buttonToggled
* typo
old-commit-hash: 7f41047178
2 years ago
Harald Schäfer
36aa81cdc3
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
old-commit-hash: 205c900742
2 years ago
Shane Smiskol
baa6d32fc6
ui: wrap missing updater text ( #28417 )
...
* wrap more
* wrap more
* and that
* update
old-commit-hash: aa4bbcefd3
2 years ago
Cameron Clough
adb8a80ff4
UI: connect to wifi prompt ( #28273 )
...
* OffroadHome: move experimental mode button to right column
* OffroadHome: replace DriveStats with PrimeAd when no prime
* SetupWidget: remove PrimeAd
* SetupWidget: tweaks to fit smaller space
* UI: add WiFiPromptWidget
* WiFiPrompt: update using network type
* add WiFiPromptWidget to offroad home
* reduce spacing to fit vertical space
* WiFiPromptWidget: open Wi-Fi settings
* no longer necessary
* cleanup
* shrink PrimeUser widget and increase Setup Wi-Fi font size
* correctly resize widget when stack index changes
* layout tweaks
* debug
* spacing
* slightly improved style
* helps -> help
* .
old-commit-hash: 4f815db141
2 years ago
Harald Schäfer
4b308e0fc7
Toggles: Reorganize in descending importance for driving ( #28364 )
...
Reorganize toggles in descending importance for driving
old-commit-hash: e0c95f7ad9
2 years ago
Cameron Clough
bdb92e691c
UI: remove comma points ( #28303 )
...
* UI: remove comma points
* remove param
old-commit-hash: e875bcfaee
2 years ago
Shane Smiskol
afe7825130
Revert "ui: smooth wide cam transition" ( #28298 )
...
Revert "ui: smooth wide cam transition (#28277 )"
This reverts commit ee6df0ef025d95c495248e46d53de2842363058e.
old-commit-hash: 21f88f997d
2 years ago
Cameron Clough
7db6687227
UI: PrimeUserWidget cleanup ( #28300 )
...
* cleanup
* setMargin is obsolete
* more
old-commit-hash: 13cf695738
2 years ago
Cameron Clough
36a72433c7
UI: update "Finish Setup" widget style ( #28287 )
...
* UI: update SetupWidget registration design
* SetupWidget: add icon
* Revert "SetupWidget: add icon"
This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
old-commit-hash: 387e865793
2 years ago