Commit Graph

234 Commits

Author SHA1 Message Date
Dean Lee 2fefa32476 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>
old-commit-hash: abffc8b2ade75eb9365552cb25a1885442d7e011
2021-09-19 15:14:54 -07:00
Dean Lee 66c6adc436 UI: lazy onboarding widgets init (#21780)
* don't show onboarding on startup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d640e25c3b95ebaef137c550907e29eb50bc837
2021-09-11 18:18:58 -07:00
Adeeb Shihadeh 706542a7b2 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>
old-commit-hash: d5475ba9462ad9c6a18db05e96a4fa9d3bf9772a
2021-09-07 17:39:24 -07:00
Jason Young 01a10fe8bd Fixes for C3 LTE connection being deleted (#22129)
* Fix for LTE connection being deleted

* also fix newConnection

* simplify
old-commit-hash: 251a074b20432e65d33c803a08d2c61826844737
2021-09-07 09:54:12 -07:00
sshane 3150250f00 UI: roaming toggle (#21750)
* roaming toggle

* clean up

* only tici

* fix order

* move to wifiManager

* should be working

* clean up

clean up

* use map icon

* move to advanced settings

* clean up

* temporarily change home-only

* keep setting for now

* set both to defaults in case ui doesn't start

* knownConnections stores conn names

* Revert "knownConnections stores conn names"

This reverts commit 4466a029a38f8c89876fad3c221e95e8fc572ded.

* save lteConnectionPath instead

* use the if statement

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6fad0055b464492d6457597116125f50155b74a3
2021-09-01 14:33:06 -07:00
Dean Lee 45ea7cc5e4 driverview.cc: cleanup paintEvent (#21531)
old-commit-hash: 30ec2bc403b9741520b0f580f8b78752cd111d8b
2021-09-01 13:56:07 -07:00
Dean Lee bdc758e769 ui: clickable ElidedLabel (#21773)
* ElidedButton

* rename to ClickableLabel

* move to ElidedLabel
old-commit-hash: 1786416e3cefcd6562f18954aa81b759d0fcf2f4
2021-08-30 22:16:48 -07:00
ambientocclusion 488f3b2624 Fixed build issues on macOS (#22075)
* Fixed deprecated enum value

* Changed to build Qt replay on macOS
old-commit-hash: ed271911c218e37eb4eac8bca4e0e7b3f8acce06
2021-08-30 09:18:14 -07:00
Adeeb Shihadeh 8cbf48b550 add fit to widget option to camera view (#22056)
* add fit to widget option to camera view

* add clicked signal

* cleanup

* use release for driverview

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 86a73497de4618c7a83bfa5038fa2d27e0aadec2
2021-08-28 13:08:48 -07:00
Dean Lee 33b6610390 Qt: new global WIDE_UI (#21977)
old-commit-hash: a165f2576286b360ebc7520f10c6602e832f667d
2021-08-19 14:14:34 -07:00
Adeeb Shihadeh d3633c23b9 fcc fixups
old-commit-hash: 77a38b3f872a2ce8fa2555659ac2556859ccb80d
2021-08-02 20:09:31 -07:00
Adeeb Shihadeh 71678b9d17 Add C3 FCC regulatory info page (#21833)
* move uninstall to software

* fcc page

* only tici

* cleanup

* more cleanup
old-commit-hash: a96f35896681cbbf9752b2ba4176b4d7b43d6d1b
2021-08-02 20:02:07 -07:00
Willem Melching a2749618ec ui: remove cache from getDongleId()
old-commit-hash: d1fb979962bb655939bd221715d20a2d1a4f6d75
2021-08-02 11:29:39 +02:00
Dean Lee c40edd4b56 qt/util: new function getDongleId (#21810)
* new function getDongleId

* return std::optional
old-commit-hash: 073b96e5d16c4780ed4adfb50b506fa1afd40d68
2021-08-02 11:21:51 +02:00
Adeeb Shihadeh c5959d74a8 UI: update toggles on show (#21812)
old-commit-hash: 0ffe920a863e5034f305812f14bf232ef087186c
2021-07-30 16:21:42 -07:00
sshane a6b3f6526c networking: disable tethering toggle while connecting (#21785)
* disable until connected

* disabling takes longest

* try enabling on refresh

* clean up
old-commit-hash: e28785199f7c8bd2d79fb914e1c7d9068c5f5c80
2021-07-29 22:36:47 -07:00
sshane 5d94b9978f settings: button press states (#21771)
* settings button press states

* tune color

* states for panel labels and close btn
old-commit-hash: 4ed49562406cc0621c8590c3dd9806fc949abb08
2021-07-29 14:44:21 -07:00
sshane 3402b6c9aa ui: grey out unsupported networks (#21753)
* grey out unsupported networks

* show slash icon

* add to qrc
old-commit-hash: a34a779ba20b8c778e429a9258ad389bd641027f
2021-07-28 20:23:48 -07:00
sshane 4e96375ca4 networking: show correct strength for mesh networks (#21690)
* update seen network if higher strength

* keep in wifiManager

* more readable
old-commit-hash: 1ada078857cc3de28c8013a3c2994d680338f274
2021-07-28 15:03:41 -07:00
Adeeb Shihadeh 9195b93843 setup: continue without wifi (#21766)
old-commit-hash: c7d75ffb5dac712344d5444a240b079c4c3b4782
2021-07-28 14:55:42 -07:00
Dean Lee f25bfd3754 onboarding: set the Qt::WA_OpaquePaintEvent attribute (#21763)
old-commit-hash: 38a44f5ea1b663fe8bb906bcdd8cbd7935be5e4a
2021-07-28 11:17:25 -07:00
Adeeb Shihadeh 28755745c5 add DM opt in to onboarding (#21756)
old-commit-hash: cae10844c7a9f9db0a7d4d4fcb86d7fa722b85fd
2021-07-28 00:07:59 -07:00
Adeeb Shihadeh a8085a2a78 training guide: better road img
old-commit-hash: d91da8d931bd47fbe51d33bc15d55022ff5573db
2021-07-27 14:49:20 -07:00
Willem Melching dc999952df wifi: set dns priority (#21743)
* wifi: set route and dns priority

* default route priority is 600
old-commit-hash: 0425a334004b93558b9d19696089302b5a0d33ee
2021-07-27 13:37:38 +02:00
sshane 797b7a77a0 networking: network type function (#21732)
* debug known connections

* print type

* on mobile if no wifi and a sim card

* clean up

* debug primary connection

* network type

* not specifying current suggests you can pass it a path

* debug

debug

Revert "debug"

This reverts commit fe4748aa4df77449e1887685aa958ae2b89b88d0.

hotspot check

This reverts commit 5d2fc5f3bba45c87af8322766e426e8adee64ead.

Revert "Revert "Revert "debug"""

This reverts commit 6115204d5013ae5d613add92c1dded7a8f5cadbc.

hotspot check

* fixes
old-commit-hash: 905138054b3e08103d8bd1ee9108697c0e281a0f
2021-07-26 23:42:29 -07:00
sshane 343e1ace30 networking: cleanup style sheets (#21696)
* cleanup style sheets

* set weight when needed

* if disconnected is the same

* no need anymore

* use property

* disconnected
old-commit-hash: d8a6e6144ac161f2abd3541380546c64c90375d6
2021-07-23 18:48:29 -07:00
sshane 133926efb3 networking: refresh on connect (#21691)
* takes a while to refresh connecting to known network

* no need to refresh an
old-commit-hash: 85c3cbd7baa24eec28ef2eee74b5d6c9210a84c4
2021-07-23 16:12:01 -07:00
sshane 8f62df9cc8 networking: fix connected type for multiple APs (#21678)
* nm uses ssid to dis/connect so use that for ctype

* we don't want to possibly block in the background (from signals)
old-commit-hash: 0d0c6bea7229e4daf710a574cd186e7cc0b39f57
2021-07-21 22:45:25 -07:00
Adeeb Shihadeh 6783b8166c training guide updates (#21674)
* add progress bar

* shorter

* update lane change speed

* fix

* center

* fix cutoff
old-commit-hash: 75904ed7452c6cbfb2a70cd379a899d8a75b97c2
2021-07-21 17:28:35 -07:00
sshane ef8fe51b70 networking: fix stretching with only 1 network (#21675)
old-commit-hash: 7193ff57e0ee019112adf464498222785ce5d1cb
2021-07-21 16:36:55 -07:00
Adeeb Shihadeh b39d2d441a remove wide toggle (#21669)
old-commit-hash: 4e6c268b1784f7899a91760f20142bc7809e044f
2021-07-21 00:58:42 -07:00
Dean Lee 2e6d65c17b SoftwarePanel: remove redundant style (#21645)
old-commit-hash: e294dfa707bfb827aecf8b71009043fa290a0eac
2021-07-19 09:27:05 -07:00
Dean Lee 66efddac39 Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
old-commit-hash: 41538753f9578969d270edc1f6ba3e23bcd60b3a
2021-07-19 09:26:08 -07:00
Willem Melching df513f4124 Fix close button design (#21652)
* Fix close button design

* center
old-commit-hash: 1fb5d9b812791ffd2d62fe3973b99aa288254a83
2021-07-19 15:17:41 +02:00
Willem Melching 47a646ecb1 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
old-commit-hash: 190409c9387ade9bc988b6603ac6f41248e0a5fd
2021-07-19 14:18:01 +02:00
Adeeb Shihadeh 17faf6e48f UI: button released -> clicked (#21606)
old-commit-hash: 92157480800d604b9a53873a66ecb7fcdd622535
2021-07-17 13:58:09 -07:00
Adeeb Shihadeh e2c0ec924d more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 62077abd3c3dc5824bb55fc5521537c438af2ad5
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh dd31ac2c18 show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
old-commit-hash: 4f9ac7a1aa6e5d54fbd26991ca2d88edd02245b0
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh 256dda3c5b nice popup (#21630)
* nicer popup

* cleanup
old-commit-hash: c5bd6735d6ea47e38b594ec7ed10dfede6f75729
2021-07-16 16:23:30 -07:00
Adeeb Shihadeh 75886ce093 setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6039f1e7acb286e9b6705f96084ca90d733df34b
2021-07-15 21:30:23 -07:00
sshane a089058fd4 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>
old-commit-hash: 0076dd3588921e9dd88c6a871988dded626c38a1
2021-07-15 17:41:01 -07:00
sshane 454cdf2d25 networking: remove invalid connections (#21614)
old-commit-hash: 0eefdb506e992aecd0d931139c68138725df3eb6
2021-07-15 15:02:30 -07:00
Adeeb Shihadeh 1e39e578c6 input dialog design (#21607)
* style

* eye

* fix spacing

* use two lines
old-commit-hash: 6a62cf7d5da527b7e69a8ccb691aefd8ad4fdacb
2021-07-15 02:56:21 -07:00
ShaneSmiskol b5f5ce739b Update networking comment
old-commit-hash: bb09f68783c385eb8003d980e047e956c2442026
2021-07-14 13:39:39 -07:00
sshane 12536138c0 networking: update on show (#21575)
* refresh on show event

* setup fix

* show scanning message if no networks nearby

* setup isn't ready in 1 second, use signal again

* clean up

* clean up

* Update selfdrive/ui/qt/offroad/networking.cc

* Update selfdrive/ui/qt/offroad/networking.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cdc386d5bb2686bd5af98cfca344ab66d930ca6f
2021-07-14 13:27:18 -07:00
Willem Melching 2417bac975 nav: cleanup settings page (#21561)
old-commit-hash: a148bcb3efdaf34e41ad8392f7656ad6c7662f8b
2021-07-12 13:44:30 +02:00
Adeeb Shihadeh 569f54aefa keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
old-commit-hash: 89c42041ece9bd7e70368ab50a1150eba1cfaaa4
2021-07-11 22:30:33 -07:00
sshane 9847b9b661 networking: clean up refreshing (#21537)
old-commit-hash: eb37e409ee085b8489c656e350b47f5b5930aa0a
2021-07-10 22:28:24 -07:00
Adeeb Shihadeh c3e445a486 UI: fix mismatch between checked button and panel when dragging
old-commit-hash: 0f6bb5ae6286ecb944de4c7f20299730ba1fccf5
2021-07-10 17:19:09 -07:00
Dean Lee 24563f4b11 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aee2b893a7467a05b6d49c16c5b6e0b6cf2f9275
2021-07-10 01:43:47 -07:00