Commit Graph

252 Commits

Author SHA1 Message Date
grekiki 2e07e45bed 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>
old-commit-hash: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
2020-12-08 12:00:51 +01:00
grekiki c76d239a8e 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. 
old-commit-hash: ec671d47412838b40cedab19e738e6227419590b
2020-12-07 12:55:17 +01:00
Adeeb Shihadeh 672d0d4727 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>
old-commit-hash: 8320a153fb530f973669fa1aafa693a17d4ef035
2020-12-04 15:21:55 -08:00
Willem Melching 95e839d6c8 set y offset to zero for now
old-commit-hash: fcb3ed727b84af644fc10abc12c5855b51fa6df3
2020-12-04 18:07:51 +01:00
Willem Melching 995950c77b Add y offset to video (#2694)
* add y offset to video

* Also reduce zoom
old-commit-hash: 35baefa72e5c5e180e6f8b1a67616fb7db4cfc4a
2020-12-04 16:29:12 +01:00
Adeeb Shihadeh 86dd0f5df1 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
old-commit-hash: fed642c4ed2fd668360bef480da8f0b7a8559916
2020-12-02 20:47:47 -08:00
Adeeb Shihadeh 07d7d650d9 setup rest of installers
old-commit-hash: c01e2df2c07cd6de484303113c06825ced2b97f3
2020-12-01 11:36:18 -08:00
grekiki 1a686500fe small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a5132e44f9b8c7f28dee52ae1d00ed0b849a8879
2020-12-01 11:12:54 -08:00
grekiki e4b5b9a297 Offroad alerts (#2664)
We now have a working offroad alerts

old-commit-hash: 744a3317e3ab608fadc9b172dd16897b8bbdc55e
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh bc4fd60f20 fix setup installer download
old-commit-hash: b3ba65d6a43c1e6eb9233764a77a4ad4ce88e546
2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 74814dfb75 qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
old-commit-hash: 8de4adac61a9d3fd5eb9044da0d44e36f32806c5
2020-11-30 23:21:40 -08:00
Adeeb Shihadeh fa147c5d6e add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
old-commit-hash: 6a2678aae7fa353617ec111bd46181cdc422e15b
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh 089843bf3c move that to two init
old-commit-hash: d00f1692b7c0616dcfadd237afe73e441b5935a0
2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 8f26c0bff9 add user agent to installer
old-commit-hash: 7560e67b3da525f2759f92d0652f2bfcbebc3b6b
2020-11-30 16:57:41 -08:00
Adeeb Shihadeh be22459f4a more margin
old-commit-hash: ff91d30b16f39d1cce0df53d3fe8c8627e668a7f
2020-11-30 16:55:56 -08:00
George Hotz b3e7154ab1 remove ui sidebar hint (#2662)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6159906e5fb0a35647ec1bbab0c2eeba6bcde709
2020-11-30 16:22:42 -08:00
Adeeb Shihadeh c6b35839d6 no gl inside nvg frame
old-commit-hash: b9c14c92a7603e2be08cb519cedfb19e563caeb9
2020-11-27 14:25:52 -08:00
Adeeb Shihadeh d1e04999c1 quick toggles cleanup
old-commit-hash: f66fac1a0b019ba99242f77eaec7c1ff8790746e
2020-11-27 09:33:52 -08:00
grekiki 3bfc92bafc 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
old-commit-hash: 61884d2c502930c95a612ba3966dd77ec2749f61
2020-11-27 17:55:07 +01:00
grekiki 98a3cabdf2 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. 
old-commit-hash: c52e3dfb0887358faee5cb37f0eefc77767fd71d
2020-11-26 16:22:14 +01:00
grekiki 7593c41f4f pad vlayout (#2626)
old-commit-hash: 54afae71479b09d59e83a900fba908a67e532da9
2020-11-26 11:52:27 +01:00
grekiki f1bd6ebe19 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.
old-commit-hash: 7d377934343dfe83e3fe3d2da3f550b1a7086c99
2020-11-25 20:32:52 +01:00
grekiki 023643f222 didn't build on device
old-commit-hash: 3abc3aadcb7d0bac09891504d65d8d86dc9b13ae
2020-11-25 14:27:28 +01:00
Adeeb Shihadeh e9f6e1cb33 small onboarding cleanup
old-commit-hash: c8ab38a8a8289819895bca5fc48b0214d4e2bb8d
2020-11-25 00:01:05 -08:00
Adeeb Shihadeh e71eb9caae stacked widget
old-commit-hash: 394dc66a19bd1329ca3390cbf7caa7e2aa4cca60
2020-11-24 23:49:20 -08:00
Adeeb Shihadeh a6e08cc46b new and improved text window
old-commit-hash: 696c3cd58c36822cfee1cfc9b6f0100973c30046
2020-11-24 23:30:36 -08:00
Adeeb Shihadeh 12e6f7a607 Qt cleanup (#2622)
* scale

* contain weston hack in one file

* rest

* no show

* missed one
old-commit-hash: efc30f4a83953363d665290f99b91c7b52652cc2
2020-11-24 22:07:03 -08:00
Willem Melching fcccf3aaf2 Qt ui: make sure ui_state is initialzed to 0
old-commit-hash: 97f9277ba6982c2b1eb3ce89de34943d800f82c6
2020-11-24 13:59:26 +01:00
Willem Melching 97fe386b3a Qt ui: fix onboarding
old-commit-hash: 99ea3ef17856ea426f158e2aea1f363e2f386409
2020-11-24 13:53:15 +01:00
Willem Melching 45e99acbb6 qt ui: dont resize window on start
old-commit-hash: 899902de8f592420f4caff0f8bcaeca4f8d536c0
2020-11-24 13:36:56 +01:00
grekiki f2d7e497f8 Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
old-commit-hash: f6ed146e8f027e83a7a99e6e89e909cc680f730a
2020-11-23 22:56:56 +01:00
Comma Device 262db4245e show os version in qt settings
old-commit-hash: eadead80d82c325946905caa0eb87446a6f0ce9a
2020-11-22 23:57:33 +00:00
Adeeb Shihadeh e7284172ac Qt setup improvements (#2591)
old-commit-hash: 770ec8ad20155f1083ec97da425b2bb682922e81
2020-11-22 15:37:13 -08:00
grekiki 7d0eb0f3e7 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
old-commit-hash: b147d91afc185fc2a3d86be06cc3697524e04c0a
2020-11-22 22:46:04 +01:00
grekiki 4603a9b9d3 Fix Wifi UI not working on PC (#2597)
old-commit-hash: 3a7fcc62fb5bdadab0122625114d5b5e99a3e47e
2020-11-22 00:10:00 +01:00
Adeeb Shihadeh bf9a64ecad Qt wifi cleanup (#2594)
* cleanup wifi

* spacing

* cleanup

* little more

* wifi manager

* typo
old-commit-hash: 45eccc842a65944d6fb2267b93cf03dc36694e27
2020-11-20 22:24:07 -08:00
Adeeb Shihadeh a2ee407c2b fix small terms (#2593)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9725128331cbb35b784c0e2828f1a228201329b6
2020-11-20 22:03:01 -08:00
grekiki 5d6c00b64e Improve on-screen keyboard (#2587)
old-commit-hash: 119cb1e0ff8b3ad74fd6a11c456d4291dd2dccc3
2020-11-20 13:29:22 -08:00
grekiki 1795bb236d 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>
old-commit-hash: 7478b21e2e0ba8ea1764ae6194c82505667a00b9
2020-11-20 16:29:29 +01:00
Willem Melching d7ab2ec365 Qt ui: turn off screen after inactivity (#2583)
* qt ui: turn off screen after inactivity

* handle touch events globally

* whitespace
old-commit-hash: 7f3bf2093f8a1766743a37782bb5c0105e70e2f9
2020-11-20 13:21:18 +01:00
Willem Melching ba77d62542 Qt ui: only stop repeat sounds (#2577)
old-commit-hash: 1e48b2458e2799bcfeded9e42996da605b66561f
2020-11-19 21:04:14 +01:00
Willem Melching aadc6815eb QT UI: Wifi chooser (#2062)
* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* fix bugs

* fix text color

* colors

* wider button

* show connected network first

* fix sorting

* remove hack

* sorting

* auto refresh

* only refresh when widget is visible

* scan once on startup

* dont open dialog on qcom2

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: f93bca98ae8470ff61c98a11fdcaba8d549a964f
2020-11-19 16:51:48 +01:00
Harald Schafer 4a4fb376b9 sometimes never goes into the loop
old-commit-hash: d409dabedd7a783d5f1577eaa571fd8d2423d4e6
2020-11-17 10:19:12 -08:00
Adeeb Shihadeh be55621d6b fix spinner and text diff
old-commit-hash: 62fd824553c299c0126348fbc8b71a6925dffbbb
2020-11-14 18:19:06 -08:00
Adeeb Shihadeh 6a6bab9917 nicer spinner
old-commit-hash: 12bddb985d32a5efe460224fef55a47f92ecaae3
2020-11-14 17:54:05 -08:00
Adeeb Shihadeh b5f01a713b fix setup for new weston build
old-commit-hash: ff6dac7dd3c125443a2d2459c479747e7d4f0234
2020-11-14 15:50:11 -08:00
Adeeb Shihadeh 08e1e45753 improve onboarding (#2537)
old-commit-hash: eae04fc67e3a0185b0de9a54ddaff70469775645
2020-11-12 21:37:02 -08:00
Adeeb Shihadeh 7ba5da6a7d larch64 text window
old-commit-hash: 5c0bfe9f10b7025e52bbfc73d10825c5698d8e7d
2020-11-12 19:57:46 -08:00
Adeeb Shihadeh 75f3d1a875 larch64 spinner
old-commit-hash: 51cc8a6b8461091f2c14c930387f273b6bf30c4b
2020-11-12 19:56:55 -08:00
robbederks 394a3f4d86 Tici Focal (#2459)
* fix i2c

* fix libi2c (again?)

* qt 5.12.8

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c5c875bad990475a48dd01ec7dad0ff6a83010d3
2020-11-12 17:09:36 -08:00