Commit Graph

534 Commits

Author SHA1 Message Date
Comma Device c3c741af70 fix margin on c2
old-commit-hash: eda9538cc3
2021-03-22 00:02:49 -07:00
Dean Lee d7cf75fc64 Qt: use the AbstractControl for multiple types of controls (#20417)
* class ClickableLabel

* scrollable widget

* rename to controls.cc

* rename to AbstractControl

* cleanup

* remove useless stylesheets

* change button stylesheet

* cleanup

* better margin

* cleanup

cleanup

* remove bottom line from AbstractControl

* no scrolling for now

* add those back

* style

* clean up

* don't need a function for that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8be2e07f4f
2021-03-21 23:53:56 -07:00
Adeeb Shihadeh 594c5f1f4b remove redundant update available title
old-commit-hash: ce5d93da44
2021-03-21 21:06:34 -07:00
Dean Lee d06d10da68 Qt: update developer page when it's visible (#20396)
* simplify&cleanup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ddde7efb4b
2021-03-21 21:02:00 -07:00
Dean Lee 7c6b409b1d cleanup ui_draw_vision_event (#20386)
old-commit-hash: 00dcc94ae6
2021-03-21 20:27:16 -07:00
Dean Lee 61c02d55ab SettingsWindow: use list instead of map to preserve insertion order for sidebar items. (#20424)
* use a list instead of map to preserve insertion order

* unused signal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d34e414a65
2021-03-21 19:08:12 -07:00
Comma Device 20df6ce147 fix margin after setting DPI
old-commit-hash: 7954256a09
2021-03-20 22:00:25 -07:00
iejMac 4770c6d1c9 terms fixups (#20392)
* accept

* accept at end + env variables

* better

* testing some settings

* bottom margin

* nothing

* doesnt work

* don't need anymore

* clean up

* fix

* unused

* more prime widget cleanup

* Revert "more prime widget cleanup"

This reverts commit d44651ee8c501be61099dc4cd40fa0467bc315a3.

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6a9afd8460
2021-03-20 21:26:05 -07:00
Adeeb Shihadeh 17a3d6cb68 Qt UI: offroad home touchups (#20416)
* brand

* fix overlap

* touchup prime widget

* more prime widget cleanup

* don't need background layout

* fix overlap again

* more prime

* looks pretty good

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0b16ed9dc9
2021-03-20 21:18:07 -07:00
Dean Lee 38978fff45 OffroadAlert: read alert keys in constructor (#20408)
old-commit-hash: c9ac15bb96
2021-03-19 13:30:51 -07:00
Dean Lee 90890c7119 qt: faster training guide (#20407)
old-commit-hash: bf3c7e6afa
2021-03-19 13:07:59 -07:00
Adeeb Shihadeh 1a0ac978ec record front lock (#20400)
* record front lock

* only if set

* add to internal installer

* move that

* change that bck

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b60cd8d0a0
2021-03-18 20:15:51 -07:00
Dean Lee 1364c0c794 QT: click outside of confirmation dialog to dismiss (#20394)
old-commit-hash: 90da15778c
2021-03-18 17:39:38 -07:00
Adeeb Shihadeh 77bc36dc52 fix reboot button in offroad alerts
old-commit-hash: 4097fe150a
2021-03-15 20:14:19 -07:00
Adeeb Shihadeh 6f4736e41b Qt UI: simplify terms (#20349)
* remove web stuff from onboarding

* fix up scrolling

* fix up style

* fix tici

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7ba5399c29
2021-03-15 15:06:00 -07:00
Willem Melching a8f562d8c3 Improve screen brightness by also using camera gain (#20357)
old-commit-hash: 8e14e17020
2021-03-15 20:07:49 +01:00
Dean Lee 6a9fe9d0c5 ui.cc: fix update_lead segfault (#20351)
* fix update_lead crash

* Check for empty list in update_lead

* use rcv_frame

* update 2 leads in update_leads

* use std::optional
old-commit-hash: fb5873bb6d
2021-03-15 13:53:22 +01:00
Dean Lee 3c98506939 ui/update_model: cleanup (#20313)
* cleanup

* fix ident
old-commit-hash: 980f8774ba
2021-03-11 16:59:40 +01:00
Willem Melching 4ddc18145b ui.cc: lane lines have different x values
old-commit-hash: 1f24b1eb0f
2021-03-11 15:39:37 +01:00
Adeeb Shihadeh 1c930d1e9e UI HW Abstraction layer (#20301)
* start cpp hw abstraction layer

* cleanup

* only set brightness on change

* confirmation dialogs

* add to release files

* fix tici brightness

* using percentage now

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d45550c424
2021-03-10 22:51:50 -08:00
Dean Lee 1b4a583e89 paint.cc: fix indentation & code style (#20302)
old-commit-hash: 4e9e751ba5
2021-03-10 20:52:01 -08:00
Willem Melching 37db5ca9df Use exposure for screen brightness (#20290)
* use camera to set screen brightness

* leave default

* lower default

* fix offroad

* increase offroad brightness

* ifdef ifndef

* fix qcomgp
old-commit-hash: 026a580ee3
2021-03-09 17:58:26 +01:00
Adeeb Shihadeh 96b6f66472 qt_sound: lower volume
old-commit-hash: 614808f384
2021-03-08 22:10:48 -08:00
Willem Melching 4d6c98aa6b Add watchdog check to manager (#20277)
* this should work but doesnt

* Only offroad

* works

* make it work offorad

* reduce diff

* cleanup

* need util

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b
2021-03-08 19:17:46 -08:00
Dean Lee 43a8ac2b73 ui/update_line_data: use max_idx as paramater instead of max_distance (#20256)
old-commit-hash: cdc46ffbab
2021-03-08 10:16:46 +01:00
Dean Lee e64a35bbff ui: remove unused roadCameraState from SubMaster (#20245)
old-commit-hash: 90310042cb
2021-03-04 20:18:54 -08:00
Adeeb Shihadeh f47a31f5c5 UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0fc98355d0
2021-03-04 17:12:56 -08:00
Willem Melching 6ec00afa0f ui: check sensor list size
old-commit-hash: 1b5c4d9089
2021-03-04 14:40:16 +01:00
Willem Melching f0da92ba5c set brightness, catch exceptions
old-commit-hash: 0d02e85873
2021-03-04 13:19:30 +01:00
Dean Lee 0818f7166d UI: Move the variables need to be updated by socket to UIScene (#19783)
* move variables into UIScene

* rebase master

* rebase master

* rebase master

* rebase master

* rebase master

* rebase master

* fix build error

* cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dd603a89f6
2021-03-03 17:40:50 +01:00
Dean Lee 2c8696ddac move function calib_frame_to_full_frame to ui.cc (#20230)
* move calib_frame_to_full_frame to ui.cc

* cleaup includes
old-commit-hash: a1b2bdb844
2021-03-03 13:10:17 +01:00
Dean Lee 5e19cdb0d3 move intrinsic_matrix into modeldata.h, removed duplicate definitions. (#20051)
* move intrinsic_matrix into modeldata.h

* def __cplusplus
old-commit-hash: ae72d34a42
2021-03-03 11:47:48 +01:00
Dean Lee 4fd0fe80f0 UI: rename frontview to driver_view (#20228)
old-commit-hash: 8db3eea6c5
2021-03-03 11:38:41 +01:00
Comma Device feeb570cd3 fix typo
old-commit-hash: f96e8f2f17
2021-03-02 20:59:46 -08:00
Adeeb Shihadeh 54df1204e8 fix SSL errors in Qt UI on NEOS (#20225)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 60a9443b61
2021-03-02 20:46:46 -08:00
ZwX1616 f8966cecae tici driverview support (#20223)
* add tici support and clean up

* not exactly 4/3

* keep c2 style

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2a9e775bb9
2021-03-02 19:42:45 -08:00
Adeeb Shihadeh 33022f854c fix rotation on input dialog
old-commit-hash: 4c84a33d01
2021-03-02 17:14:32 -08:00
Adeeb Shihadeh 6dbc7c6d92 oneplus cleanup (#20200)
* start cleanup

* cleanup camerad

* remove unused

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 07ab081a42
2021-03-01 17:14:03 -08:00
Willem Melching d83935e19d Qt ui: fix minimum pass length
old-commit-hash: a0987cb098
2021-03-01 13:55:48 +01:00
Adeeb Shihadeh fa0bd1990f qt confirmation dialogs (#20202)
* confirmation dialog widget

* looks pretty good

* fix qcom2

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d8418f2abe
2021-02-28 20:44:00 -08:00
Adeeb Shihadeh 7ac52e2374 qt fixups (#20171)
* no outline

* disable on qcom for now

* fix qt 5.12.8

* cleanup drive stats

* widgets cleanup

* ssl test

* revert that

* disable by default

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec8b21c261
2021-02-28 18:10:50 -08:00
grekiki 30887bcbd8 Qt standalone wifi chooser (#20141)
* qt wifiManager remove qDebugs

* wifi widget

* 50% done

* Update SConscript

* backgrounds work

* backgrounds work

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 069532eb18
2021-02-26 14:21:06 +01:00
grekiki 1a24d4869d Qt-UI Cleanup SSH and Tethering password (#20169)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c60cc0310c
2021-02-26 14:08:26 +01:00
Adeeb Shihadeh 2b63a4e9c2 neos networking (#20165)
* neos networking

* tethering

* cleanup

* stretch

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c7dd344f2e
2021-02-25 22:19:53 -08:00
grekiki cd38b27338 Qt-UI fix ssh username (#20159)
* Fix SSH username. Squased Gregor's commits.

* revert keyboard size

* reduce diff

* fix build

* whitespace

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4c99d83474
2021-02-25 18:27:00 +01:00
grekiki 3ad3cd5d4b Qt-UI add driver monitoring view in offroad (#20148)
* should work, need to test onroad

* reduce diff

* Update home.cc

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a53c361bd4
2021-02-25 16:14:25 +01:00
Adeeb Shihadeh 70db46e752 Qt on NEOS (#20153)
* qt on neos

* cleanup

* check arch

* fix pc

* fix mac

* base libs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c369a9009
2021-02-25 01:03:37 -08:00
Adeeb Shihadeh bf0d5c2140 Revert "fix some refactor commits that weren't tested (#20140)"
This reverts commit e25516e0a4ea9cfe459c400c331e1206ea3336c8.

old-commit-hash: 1ef7d4a4c8
2021-02-24 12:09:19 -08:00
grekiki 4af3c6f533 fix some refactor commits that weren't tested (#20140)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9e29d5621c
2021-02-24 17:52:37 +01:00
grekiki 6b65ed01f5 Qt-UI fix escaping all wifi access points (#20147)
* fix wifi escaping

* less code

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 04cbed3989
2021-02-24 15:40:34 +01:00