Commit Graph

145 Commits

Author SHA1 Message Date
Adeeb Shihadeh
472177e2a8 Revert "Qt/SetingWindow: faster initialization and painting (#21764)"
This reverts commit f482354e4e.
2021-12-15 09:58:25 -08:00
Dean Lee
2483fc5d5d ui: singleton uistate (#22789)
* singleton uistate

* merge master

* merge master

* merge master

* connect uistate in sidebar

* move to device
2021-12-14 22:28:12 -08:00
Shane Smiskol
c84310c94c seems to be flipped (#23213) 2021-12-14 12:17:02 -08:00
Dean Lee
084ef39489 C2: display ip address in network panel (#23215)
* display ipv4 address

* refactor to class

* only display ip address
2021-12-14 12:14:51 +01:00
Dean Lee
f482354e4e Qt/SetingWindow: faster initialization and painting (#21764)
* reduce init time from ~520ms to ~350ms

* faster init toggle

setfixedheight in ctor

delay init TogglesPanel,reduce init time to ~180ms

cleanup

* precise style, reduce to ~100ms

* revert 'faster toggle

* fix horizontal_line

* fix background

* cleanup
2021-12-13 15:57:04 +01:00
Dean Lee
2335a20584 limit style scope (#23181) 2021-12-09 11:37:59 -08:00
Dean Lee
6e25ae9798 DevicePanel: fix dangling reference to params (#23154) 2021-12-07 10:41:41 -08:00
Willem Melching
2e0c73fc0c Remove Raw Upload toggle (#23143)
* Remove Raw Upload toggle

* fix tests
2021-12-07 11:25:40 +01:00
Comma Device
20dc4df024 fix UI build on comma two 2021-12-06 14:34:20 -08:00
Dean Lee
5394fe1ae7 DevicePanel: split long constructor into multiple functions (#23043)
* begin refactor

* split long constructor to multiple functions

* one connection to signal

* merge master
2021-11-29 11:14:34 +01:00
Dean Lee
ac179e2c36 qt/settings: reuse params (#23041) 2021-11-26 14:39:25 +01:00
Dean Lee
723c8d6a7c qt/settings: use default parameter for params.get (#23042) 2021-11-26 14:39:04 +01:00
Dean Lee
b399b48f0a ui/settingswindow: set parent for nav_btns. (#22984) 2021-11-19 20:40:46 -08:00
Dean Lee
63779c385d ui: disable toggles while onroad (#22975)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 21:45:40 -08:00
Willem Melching
07ff724726 Move shutdown/reboot handling to manager (#22882)
* Move shutdown/reboot handling to manager

* more logging

* check enagaged

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-12 09:10:34 -08:00
Dean Lee
2773ff5ace params: code cleanup (#22744)
* cleanup params

* apply review

* continue

* use c_str

* cleanup filelock

* don't check return code of close()

* remove call_once

* cleanup params_pyx

* cleanup comment
2021-11-01 11:22:34 +01:00
Adeeb Shihadeh
84d5adedd8 UI: fix fcc.html when using QRC 2021-10-22 21:04:00 -07:00
Adeeb Shihadeh
c11be0f49a update useradmin url 2021-10-01 17:36:46 -07:00
cydia2020
70e1c9c40c UI: Fix mph and wi-fi spelling (#22334)
* display WiFi as Wi-Fi

* fix typo in metric setting description
2021-09-23 22:23:34 -07:00
Jason Wen
67c09b4caf Fix small typo in DisableRadar toggle description (#22333) 2021-09-23 19:52:59 -07:00
Adeeb Shihadeh
649af76fd4 remove community supported cars from community features (#22330)
* remove community supported cars from community features

* remove bosch and hkg long

* remove test case

* update refs
2021-09-23 17:34:52 -07:00
Willem Melching
8c01ae5716 Add DisableRadar_Allow param and settings toggle (#22329) 2021-09-23 17:19:47 -07:00
Dean Lee
abffc8b2ad 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>
2021-09-19 15:14:54 -07:00
Dean Lee
2d640e25c3 UI: lazy onboarding widgets init (#21780)
* don't show onboarding on startup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-11 18:18:58 -07:00
Adeeb Shihadeh
d5475ba946 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>
2021-09-07 17:39:24 -07:00
Adeeb Shihadeh
77a38b3f87 fcc fixups 2021-08-02 20:09:31 -07:00
Adeeb Shihadeh
a96f358966 Add C3 FCC regulatory info page (#21833)
* move uninstall to software

* fcc page

* only tici

* cleanup

* more cleanup
2021-08-02 20:02:07 -07:00
Willem Melching
d1fb979962 ui: remove cache from getDongleId() 2021-08-02 11:29:39 +02:00
Dean Lee
073b96e5d1 qt/util: new function getDongleId (#21810)
* new function getDongleId

* return std::optional
2021-08-02 11:21:51 +02:00
Adeeb Shihadeh
0ffe920a86 UI: update toggles on show (#21812) 2021-07-30 16:21:42 -07:00
sshane
4ed4956240 settings: button press states (#21771)
* settings button press states

* tune color

* states for panel labels and close btn
2021-07-29 14:44:21 -07:00
Adeeb Shihadeh
4e6c268b17 remove wide toggle (#21669) 2021-07-21 00:58:42 -07:00
Dean Lee
e294dfa707 SoftwarePanel: remove redundant style (#21645) 2021-07-19 09:27:05 -07:00
Willem Melching
1fb5d9b812 Fix close button design (#21652)
* Fix close button design

* center
2021-07-19 15:17:41 +02:00
Willem Melching
190409c938 nav: show settings without token (#21624)
* map settings always in sidebar

* show screenshot when no prime

* remove print

* repaint to fix star sizing

* checked in sconsscript

* match designs
2021-07-19 14:18:01 +02:00
Adeeb Shihadeh
9215748080 UI: button released -> clicked (#21606) 2021-07-17 13:58:09 -07:00
sshane
0076dd3588 Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-15 17:41:01 -07:00
Willem Melching
a148bcb3ef nav: cleanup settings page (#21561) 2021-07-12 13:44:30 +02:00
Adeeb Shihadeh
89c42041ec keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
2021-07-11 22:30:33 -07:00
Adeeb Shihadeh
0f6bb5ae62 UI: fix mismatch between checked button and panel when dragging 2021-07-10 17:19:09 -07:00
Dean Lee
5be75f5354 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh
a420c7ad50 remove lte toggle (#21392)
* remove lte toggle

* little more
2021-06-23 17:01:17 -07:00
Dean Lee
c9d4dfe99f DevicePanel: set specific stylesheet for reboot & poweroff buttons (#21364)
* set specific stylesheet for reboot&poweroff buttons

* remove hack

* fix css in network panel
2021-06-22 13:24:55 -07:00
Willem Melching
c21ea8b506 nav: home/work shortcuts (#21276)
* add home/work widgets

* remove todo

* set contents from response

* turn into buttons

* add navigate button

* fix includes

* close settings on nav press

* close sidebar when closing settings

* use live api endpoint

* larger fonts

* more text fits

* only place name

* remove static response

* properly clear
2021-06-22 13:25:22 +02:00
Dean Lee
8781f586c5 UI: refactor onboarding (#21223)
* refactor onboarding

* skip training guide if is dashcam

* apply review

* cleanup include

* move public ctro up

* slots is private

* cleanup headers

* set style sheet in onboardingwindow

* rebase master

* match ui

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-18 16:01:22 -07:00
Dean Lee
eb9736fbb0 network_panel: fix ButtonControl build on EON (#21327) 2021-06-18 14:22:49 -07:00
Dean Lee
8675c970d4 UI: refactor ButtonControl (#21315) 2021-06-17 23:17:52 -07:00
Dean Lee
3901f28cb9 settings.cc: include missing headers on EON (#21298) 2021-06-16 13:18:04 -07:00
Dean Lee
2c6d27f482 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
2021-06-16 00:08:02 -07:00
Dean Lee
a23584b6e2 SoftwarePanel: trim the OS Version (#21274) 2021-06-15 12:23:54 +02:00