Commit Graph

1524 Commits

Author SHA1 Message Date
Dean Lee e1ea1d58e4 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
2023-07-09 21:27:24 +01:00
Dean Lee 7a42e51c90 ui/map: use overlay widget to simplify code and improve rendering performance (#28800)
* move widgets into overlay

* adjust margin

* add spacing
2023-07-09 16:03:51 +01:00
Dean Lee 060490bdf1 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
2023-07-09 11:54:29 +01:00
Dean Lee bde531d0bc ui/ExperimentalButton: Initialize engageable to false (#28846) 2023-07-07 18:46:41 -07:00
Adeeb Shihadeh 99f9d21e4b ui: add nav to prime features (#28842) 2023-07-07 15:07:37 -07:00
Dean Lee 219590885f ui: remove function configFont. use struct InterFont (#28773) 2023-07-06 12:17:56 +02:00
Jason Young e816c81a5a nav ui: restore speed-adaptive map zoom level (#28796)
Revert "map: fix repeated call to m_map->setZoom (#25784)"

This reverts commit f0665911b2.
2023-07-05 15:45:32 -07:00
Dean Lee d9d5ce3634 ui: fix alert disappear when no controlState is received in a frame. (#28811)
* always return alert

* don't get old alert
2023-07-05 15:20:28 -07:00
Dean Lee 5991aea10a 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
2023-07-05 15:00:33 -07:00
Dean Lee 2d37c219e7 ui: cleanup controls (#28809)
* cleanup controls

* restore LayoutWidget
2023-07-05 10:50:14 -07:00
Dean Lee 0bbe9bf46a ui/wifiManager: remove obsolete methods without definition. (#28802) 2023-07-04 11:34:00 -07:00
AlexandreSato 6495a18cc9 Multilang: update pt-BR translation (#28774)
update pt-BR translations
2023-07-01 18:45:01 -07:00
Dean Lee 93413c43df UI: fix memory leak in MapSettings (#28759)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-01 09:45:05 +01:00
Dean Lee 081cc2eb79 ui/MapSettings: remove white border around destinations (#28771) 2023-07-01 08:40:06 +01:00
Dean Lee 32c5e6aafb modeldata.h: convert constants to uppercase (#28769) 2023-07-01 08:26:21 +01:00
Adeeb Shihadeh 010ef17da5 UI: adjust opacity instead of visibility to indicate engageability (#28765) 2023-06-30 19:18:35 -07:00
Mitchell Goff a66135665c 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>
2023-06-30 19:00:36 -07:00
Dean Lee 5493cb4289 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>
2023-06-30 13:45:58 -07:00
Dean Lee 7ac22a0d7a ui/sidebar: Fix the inconsistent padding in different languages. (#28746)
cleanup
2023-06-30 13:40:28 -07:00
Adeeb Shihadeh 3e1ba3ff35 Revert "ui: fix memory leak in MapSettings (#28701)"
This reverts commit 5a00b42092.
2023-06-30 13:22:20 -07:00
Dean Lee 57e70278dc ui/device: remove method motionTrigger (#28754)
remove motionTrigger
2023-06-30 08:46:09 -07:00
Dean Lee 5a00b42092 ui: fix memory leak in MapSettings (#28701) 2023-06-29 13:37:19 -07:00
Dean Lee c7f72698a6 ui: prevent constant clicking on experimental button (#27865)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-29 14:53:53 +01:00
Dean Lee 5df45dcef4 ui: ignore tap to wake device (#28656)
revert to first version
2023-06-28 18:01:31 -07:00
AlexandreSato cca5a1310d 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>
2023-06-28 14:59:42 -07:00
Shane Smiskol dcb769982f ui: hide sidebar when map shows (#28490)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-28 16:26:09 +01:00
Harald Schäfer 85c4b1a400 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
2023-06-27 19:09:45 -07:00
Iamz 14b9aa7490 Multilang: Update th translations (#28700)
Thai translation update
2023-06-26 12:44:18 -07:00
Harald Schäfer 124522e363 Alerts: make standard alert more opaque (#28706)
More opaque standard alert
2023-06-26 09:33:24 -07:00
Dean Lee 070bdcdf89 UI/AnnotatedCameraWidget: cleanup drawHud (#28167)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-26 14:17:19 +01:00
eFini e8ed0c2f53 Multilang: CHT translations for new nav UI (#28690)
CHT translations for new nav UI
2023-06-25 12:47:45 -07:00
Harald Schäfer dce060a798 Alerts: revert gradient removal (#28686)
revert gradient removal
2023-06-25 08:55:37 -07:00
Dean Lee 76ce71c6d6 ui: scale training image to fit window (#28454) 2023-06-24 21:10:29 -07:00
Adeeb Shihadeh 4464383833 thermald: show temp value in offroad alert (#28664)
* thermald: show temp value in offroad alert

* update

* better for multilang

* update translations

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-23 17:12:01 -07:00
AlexandreSato fb3eb6f9ea Multilang: update pt-BR translations (#28659) 2023-06-23 21:25:26 +01:00
Adeeb Shihadeh 07a68ca032 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>
2023-06-22 21:37:08 -07:00
Lee Jong Mun c7b62009ef Multilang: kor translation update (#28646)
kor translation update
2023-06-22 19:02:22 -07:00
Dean Lee e8db988f2a ui/map_settings: remove repaint (#28642) 2023-06-23 00:31:05 +01:00
Cameron Clough a2b7d2c867 update mapbox style (#28638)
updated map components and dataset
2023-06-22 22:10:42 +01:00
eFini 3b07bd5fcd Multilang: Chinese (Traditional) offroad alerts translation (#28636)
CHT translation for offroad alerts + minor changes to punctuation marks
2023-06-22 13:50:54 -07:00
Cameron Clough bc5a899024 UI: improved nav destination entry (#28476) 2023-06-22 19:57:29 +01:00
Dean Lee 2b800cf2e7 ui: multilang offroad alerts (#28512)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-22 15:04:28 +01:00
Cameron Clough bf8e815aba UI: fix DM icon margins (#28635) 2023-06-22 11:58:38 +01:00
Cameron Clough 8495510c29 networking: add forget btn pressed state (#28618) 2023-06-21 14:42:18 +01:00
AlexandreSato 3d909d3097 Multilang: update pt-BR 'alfa' translation (#28591) 2023-06-18 20:27:39 +01:00
Harald Schäfer da3003ee41 Alpha long control no longer called experimental (#28437)
* Fix words

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-14 21:51:55 -07:00
Cameron Clough 22ebd4fa8f UI: consider border when setting map width (#28488) 2023-06-10 22:09:48 -07:00
Jason Wen f0eef38dc0 offroad ui: remove irrelevant comment (#28485) 2023-06-10 13:01:16 -07:00
Cameron Clough f7f5537af7 MapPanel cleanup (#28474) 2023-06-09 17:08:57 -07:00
Lee Jong Mun b2288b3666 kor translation update (#28469) 2023-06-09 10:54:39 -07:00