Commit Graph

209 Commits

Author SHA1 Message Date
Willem Melching 11fb6efba2 add optional margin to car_space_to_full_frame check 2020-12-14 14:09:26 +01:00
Willem Melching bbc289b671 paint.cc: fix y offset 2020-12-14 13:38:00 +01:00
komma zwei 41bc3c558e increase startup timeout for camera malfunction 2020-12-11 20:07:27 -08:00
grekiki c16c8f3c2c WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network.
2020-12-11 00:29:31 +01:00
grekiki bffdfd5303 Dynamically colored alert widget. (#2717)
blue background on update
2020-12-10 23:39:15 +01:00
grekiki f96fb625d9 Add label if no network manager is found (#2718) 2020-12-10 19:04:19 +01:00
ZwX1616 257c5f9d94 road camera malfunction alert (#2697)
* camera unresponsive

* blue and remove loge

* simplify

* should override to avoid blank screen

* let it be

* stop sound

Co-authored-by: WXEon <device@comma.ai>
2020-12-09 20:05:47 -08:00
Willem Melching 3d2fec6c9a dont init wifi widget if there is no adapter 2020-12-08 16:33:00 +01:00
Dean Lee 232cb25683 small cleanup (#2715) 2020-12-08 14:20:06 +01:00
grekiki 3e466aa528 UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized

* some spaces and a comment

* more spaces

* const

Co-authored-by: Comma Device <device@comma.ai>
2020-12-08 12:00:51 +01:00
grekiki ec671d4741 Tethering (#2676)
We can now enable tethering on the device. The user still has to reconnect to the wifi network after disabling tethering, the network manager is lazy.
2020-12-07 12:55:17 +01:00
Adeeb Shihadeh 8320a153fb move offroad alerts to home screen (#2681)
* move offroad alerts to home screen

* offroad aletrs work, but sidebar doesn't look nice

* fix sidebar

* looks better

* cleanup

* little bigger

Co-authored-by: grekiki <gregor1234567890@gmail.com>
2020-12-04 15:21:55 -08:00
Willem Melching fcb3ed727b set y offset to zero for now 2020-12-04 18:07:51 +01:00
Willem Melching 35baefa72e Add y offset to video (#2694)
* add y offset to video

* Also reduce zoom
2020-12-04 16:29:12 +01:00
Adeeb Shihadeh fed642c4ed Qt offroad home screen (#2672)
* some cleanup first

* home sweet home

* basic home screen

* date

* fix touch

* fix mac

* hide when onroad

* box layout didn't do what i thought
2020-12-02 20:47:47 -08:00
Adeeb Shihadeh c01e2df2c0 setup rest of installers 2020-12-01 11:36:18 -08:00
grekiki a5132e44f9 small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-12-01 11:12:54 -08:00
grekiki 744a3317e3 Offroad alerts (#2664)
We now have a working offroad alerts
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh b3ba65d6a4 fix setup installer download 2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 8de4adac61 qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
2020-11-30 23:21:40 -08:00
Adeeb Shihadeh 6a2678aae7 add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh d00f1692b7 move that to two init 2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 7560e67b3d add user agent to installer 2020-11-30 16:57:41 -08:00
Adeeb Shihadeh ff91d30b16 more margin 2020-11-30 16:55:56 -08:00
George Hotz 6159906e5f remove ui sidebar hint (#2662)
Co-authored-by: Comma Device <device@comma.ai>
2020-11-30 16:22:42 -08:00
Adeeb Shihadeh b9c14c92a7 no gl inside nvg frame 2020-11-27 14:25:52 -08:00
Adeeb Shihadeh f66fac1a0b quick toggles cleanup 2020-11-27 09:33:52 -08:00
grekiki 61884d2c50 Qt ui: improve toggle buttons (#2639)
* works, but is still a bit ugly

* works

* looks much better now

* fix compile error

* reduce diff

* write to params

* cleanup
2020-11-27 17:55:07 +01:00
grekiki c52e3dfb08 wider keyboard (#2629)
The keyboard now signals when it wants to open. By subscribing to this signal we can close the sidebar to make the keyboard larger. We also increase the key size to make it easier to type on.
2020-11-26 16:22:14 +01:00
grekiki 54afae7147 pad vlayout (#2626) 2020-11-26 11:52:27 +01:00
grekiki 7d37793434 Wifi improvements (#2618)
We now detect wrong passwrods and request the correct password from the user. We also write "CONNECTING" if we are actively connecting to a network.

For a tiny usability upgrade, we now display "Refreshing networks" text, while loading the wifi networks available around us.
2020-11-25 20:32:52 +01:00
grekiki 3abc3aadcb didn't build on device 2020-11-25 14:27:28 +01:00
Adeeb Shihadeh c8ab38a8a8 small onboarding cleanup 2020-11-25 00:01:05 -08:00
Adeeb Shihadeh 394dc66a19 stacked widget 2020-11-24 23:49:20 -08:00
Adeeb Shihadeh 696c3cd58c new and improved text window 2020-11-24 23:30:36 -08:00
Adeeb Shihadeh efc30f4a83 Qt cleanup (#2622)
* scale

* contain weston hack in one file

* rest

* no show

* missed one
2020-11-24 22:07:03 -08:00
Willem Melching 97f9277ba6 Qt ui: make sure ui_state is initialzed to 0 2020-11-24 13:59:26 +01:00
Willem Melching 99ea3ef178 Qt ui: fix onboarding 2020-11-24 13:53:15 +01:00
Willem Melching 899902de8f qt ui: dont resize window on start 2020-11-24 13:36:56 +01:00
grekiki f6ed146e8f Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
2020-11-23 22:56:56 +01:00
Comma Device eadead80d8 show os version in qt settings 2020-11-22 23:57:33 +00:00
Adeeb Shihadeh 770ec8ad20 Qt setup improvements (#2591) 2020-11-22 15:37:13 -08:00
grekiki b147d91afc new wifi strength icon (#2601)
* make wifi usable in apartments with lots of access points

* remove unused thing I added a few days ago...

* use a different image

* simpl. and correct scaling
2020-11-22 22:46:04 +01:00
grekiki 3a7fcc62fb Fix Wifi UI not working on PC (#2597) 2020-11-22 00:10:00 +01:00
Adeeb Shihadeh 45eccc842a Qt wifi cleanup (#2594)
* cleanup wifi

* spacing

* cleanup

* little more

* wifi manager

* typo
2020-11-20 22:24:07 -08:00
Adeeb Shihadeh 9725128331 fix small terms (#2593)
Co-authored-by: Comma Device <device@comma.ai>
2020-11-20 22:03:01 -08:00
grekiki 119cb1e0ff Improve on-screen keyboard (#2587) 2020-11-20 13:29:22 -08:00
grekiki 7478b21e2e Qt keyboard (#2381)
* add keyboard

* put widget in settings

* port a keyboard

* forgot git add

* reduce diff

* submodules

* fix macOS and reduce diff

* cleanup

* little more cleanup

* test input

* not working yet

* compiles now

* add stuff

* add keyboard on panel 3

* works now

* small layout improvements

* cleanup

* styling

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-11-20 16:29:29 +01:00
Willem Melching 7f3bf2093f Qt ui: turn off screen after inactivity (#2583)
* qt ui: turn off screen after inactivity

* handle touch events globally

* whitespace
2020-11-20 13:21:18 +01:00
Willem Melching 1e48b2458e Qt ui: only stop repeat sounds (#2577) 2020-11-19 21:04:14 +01:00