Shane Smiskol
8e89512da7
ui: use stencil buffer to draw polygons ( #28902 )
...
* Update ui.cc
* add a bunch of debugging stuff i don't want to lose
* Revert "add a bunch of debugging stuff i don't want to lose"
This reverts commit 2de6ab5b68
.
* enable stencil buffer
* lower ui CPU usage
* Revert "lower ui CPU usage"
This reverts commit 650241c0d8
.
old-commit-hash: 936bfcd7ba
2 years ago
Dean Lee
1c2f2d52e1
ui/MapSettings: sort location JsonArray inplace ( #28886 )
...
old-commit-hash: c3fe3c8162
2 years ago
Shane Smiskol
e9c0c9b693
map panel: show map on interactive timeout ( #28904 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: daf80eaef5
2 years ago
Dean Lee
387f6b6bf6
ui/map: handle & display error in MapWindow ( #28854 )
...
old-commit-hash: ae4a375dd6
2 years ago
Shane Smiskol
222f7f6727
ui: singleton Device instance ( #28908 )
...
* singleton
* remove awake
old-commit-hash: b8dd4dcc28
2 years ago
Shane Smiskol
b9aa2c232f
ui: fix timeout typo ( #28905 )
...
tim is out -> timeout
old-commit-hash: d68bd905fc
2 years ago
Shane Smiskol
24bd763e45
ui: reset nav status on offroad transition ( #28897 )
...
* need to do this
* actually better to clear it on offroad transition, then onroad transition will be fine
old-commit-hash: c158537df6
2 years ago
Shane Smiskol
37ee12de52
ui: show map with nav ( #28867 )
...
* accept touch events in map settings
* draft
* draft 2.0
* revert this stuff
* need this
* fix
* clean up debug prints
* fraft
* only show map on closeSettings if nav
* works!
* can't do it here
* I was going to connect signals from UIState to HomeWindow, then to OnroadWidget, but that seems like too much
* just need to keep track of it in onroad, seems like the cleanest option
* ideally we show the map where we set the scene variable, and that's in map.cc
* old variable
* comments
* less confusing
* app comment
* add back
* fix
* move to top
* remove this comment
old-commit-hash: 34a5e626d6
2 years ago
Cameron Clough
9716affb3b
nav: hide settings on map request visible ( #28884 )
...
old-commit-hash: 6643616c47
2 years ago
Lee Jong Mun
912418808a
Multilang: kor translation update ( #28885 )
...
kor translation update
old-commit-hash: 92b5f0b5e5
2 years ago
Cameron Clough
6b3daee3d3
UI: preserve recent destinations sort order ( #28881 )
...
old-commit-hash: 4d61d680b2
2 years ago
Dean Lee
261d7ed673
ui/map: singleton navigation requests ( #28862 )
...
old-commit-hash: 8149c07fac
2 years ago
Dean Lee
573e1ddbc4
ui: capnp best practices ( #28877 )
...
old-commit-hash: d34138e275
2 years ago
Dean Lee
22b1baff64
ui/map: don't clear eta when map is hidden ( #28878 )
...
old-commit-hash: 4544b40b70
2 years ago
Shane Smiskol
a11b6330ae
ui: don't hide sidebar twice ( #28868 )
...
* draft
* draft 2
* comment and clean up
* delete
* better name
* even better?
old-commit-hash: 305ab3cb3e
2 years ago
Shane Smiskol
b205c1b1f0
ui: remove unused MapPanel function ( #28874 )
...
forgot about this
old-commit-hash: 28df811f42
2 years ago
Shane Smiskol
c9630b0a7a
map settings: accept touch events ( #28865 )
...
* accept touch events in map settings
* use override
* revert this
* remove debug stuff
* add comments
* not the main purpose
old-commit-hash: 71e001ee57
2 years ago
AlexandreSato
75c1973249
Multilang: update pt-BR translations on prime ad ( #28866 )
...
update pt-BR translations on prime ad
old-commit-hash: a812096464
2 years ago
mitchellgoffpc
c1d07a1829
Revert "UI: Indicate when Nav on OP is enabled ( #28665 )"
...
This reverts commit 987dca2fdb2f3495efaed8c8526b81c3643a9a74.
old-commit-hash: 1690cf4af6
2 years ago
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
b987242655
ui: fix alert disappear when no controlState is received in a frame. ( #28811 )
...
* always return alert
* don't get old alert
old-commit-hash: d9d5ce3634
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
AlexandreSato
036603682f
Multilang: update pt-BR translation ( #28774 )
...
update pt-BR translations
old-commit-hash: 6495a18cc9
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
a001b46ce9
ui/device: remove method motionTrigger ( #28754 )
...
remove motionTrigger
old-commit-hash: 57e70278dc
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
AlexandreSato
5bbe5dc8a9
Multilang: Instructions to preview alerts ( #28718 )
...
* Multilang: Instructions to preview alerts
* move instructions to separete section
* Update README.md
* <br>
* move up
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* a step
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca5a1310d
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
Iamz
ee95c2a11d
Multilang: Update th translations ( #28700 )
...
Thai translation update
old-commit-hash: 14b9aa7490
2 years ago
Harald Schäfer
e7c96c1a95
Alerts: make standard alert more opaque ( #28706 )
...
More opaque standard alert
old-commit-hash: 124522e363
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