Commit Graph

45 Commits

Author SHA1 Message Date
Adeeb Shihadeh df5b374033 add small minimum time between taps to onboarding (#23212)
Co-authored-by: Comma Device <device@comma.ai>
2021-12-13 17:38:19 -08:00
eFini 21ff97b8c9 UI: minor changes to make it translation friendly (#23032) 2021-11-25 22:30:07 -08:00
Adeeb Shihadeh 23ae67bbf9 UI: auto wide detection on PC (#22392)
* UI: auto wide detection on PC

* invert width

* cleanup
2021-09-30 20:48:02 -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
Dean Lee 38a44f5ea1 onboarding: set the Qt::WA_OpaquePaintEvent attribute (#21763) 2021-07-28 11:17:25 -07:00
Adeeb Shihadeh cae10844c7 add DM opt in to onboarding (#21756) 2021-07-28 00:07:59 -07:00
Adeeb Shihadeh 75904ed745 training guide updates (#21674)
* add progress bar

* shorter

* update lane change speed

* fix

* center

* fix cutoff
2021-07-21 17:28:35 -07:00
Adeeb Shihadeh 9215748080 UI: button released -> clicked (#21606) 2021-07-17 13:58:09 -07:00
Adeeb Shihadeh 53430f87a0 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
2021-07-07 16:03:55 -07:00
Adeeb Shihadeh a334203f7b training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
2021-07-05 01:31:31 -07:00
Dean Lee 2433cb28bb onboarding: small cleanup (#21351) 2021-06-20 18:59:49 -07: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 2c6d27f482 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
2021-06-16 00:08:02 -07:00
Dean Lee 8f5c7e7bb5 UI widgets: remove unnecessary setLayout (#21232)
* remove setlayout

* remove setLayout

* space

* Update selfdrive/ui/qt/maps/map.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-12 21:28:17 -07:00
Dean Lee e4e669bb0f add space after function name and if statement (#21225) 2021-06-11 10:17:52 +02:00
Dean Lee b06b3ecb60 Use full include path (#21194) 2021-06-08 12:09:30 -07:00
Maxime Desroches d44ee69b24 UI: add decline page for the Terms and Conditions (#20919)
* add decline page

* change action + keep the same layout
2021-05-20 15:59:56 +02:00
Maxime Desroches 553e7d1cce Fix Terms and Training guide skip when the screen turns off (#20942) 2021-05-18 11:26:04 +02:00
Dean Lee 7222d0f20d Cleanup selfdrive/ includes (#20822)
* cleanup include path

* continue

* format includes

* fix testraw.cc

* remove include path from SConstruct

* regroup

* rebase master

* almost done

* apply review

* rename FileReader.xx to filereader.xx

* rename Unlogger.x->unlogger.x

* rename FrameReader.xx -> framereader.xx

* apply reviews

* ui.h

* continue

* fix framebuffer.cc build error:mv util.h up

* full path to msm_media_info

* fix qcom2 camerad

Co-authored-by: Comma Device <device@comma.ai>
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh ed3b6bd90c UI: fast startup (#20781)
* faster startup

* faster

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-05-04 10:05:23 -07:00
Dean Lee 81491dc57f c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
2021-05-03 11:53:11 +02:00
Dean Lee 4781598e12 Qt: use new signal slot syntax (#20783)
* new signal slot syntax

continue

* continue
2021-05-01 14:12:35 -07:00
Dean Lee 98e55996f6 Params: python-like interface (#20506)
* rebase master

* delete outdated test_params.c

* putBool & more robust getBool

* putBool(SshEnabled)
2021-03-30 12:54:59 +02:00
Comma Device 9896438d15 training guide: make coordinates relative to img 2021-03-29 16:46:12 -07:00
Adeeb Shihadeh fd15a21c5a new training guide (#20495)
* new training guide

* fix end

* new step1

* better images

* update images
2021-03-26 16:43:14 -07:00
iejMac 806226820c review training guide button (#20466)
* works

* move the param deletion

* clean that up

* Revert "move the param deletion"

This reverts commit 31d8a65f004e7bcf14d29465a9c9d6db03e9dee7.

* clean up

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2021-03-25 17:36:44 -07:00
iejMac d78546afbd fix (#20477) 2021-03-25 17:09:23 -07:00
iejMac 55926e762a QML terms (#20439)
* initial_commit

* rich text + color

* nice scrolling

* margin

* print on scroll + some margins

* print on scroll + some margins

* working, needs a lot of improvements

* should be done

* initial_commit

* rich text + color

* nice scrolling

* margin

* print on scroll + some margins

* print on scroll + some margins

* working, needs a lot of improvements

* should be done

* update tests

* Revert "update tests"

This reverts commit 94d5ed789eb79bedc9544fc27b4d14c0acc44adf.

* cleanup

* QuickView -> QuickWidget

* tuned scrolling

* cherry on top

* screen size scaling

* load from html

* fixing tabs

* signal fix

* TABS

* mistake

* rename

* camel case

* transparent background

* naming + point->pixel Size

* style

* util::read_file

* adjusting font size

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-24 19:30:52 -07:00
Willem Melching 621824d813 ui: unify terms scrolling 2021-03-24 08:57:22 +01:00
iejMac 6a9afd8460 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>
2021-03-20 21:26:05 -07:00
Dean Lee bf3c7e6afa qt: faster training guide (#20407) 2021-03-19 13:07:59 -07:00
Adeeb Shihadeh 7ba5399c29 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>
2021-03-15 15:06:00 -07:00
Adeeb Shihadeh 1c369a9009 Qt on NEOS (#20153)
* qt on neos

* cleanup

* check arch

* fix pc

* fix mac

* base libs

Co-authored-by: Comma Device <device@comma.ai>
2021-02-25 01:03:37 -08:00
grekiki caf8f85ee9 Qt add Terms & Conditions (#19998)
* works...

* terms

* new termms

* should be good

* reduce diff

* fix reviews

* correct font + remove unused import

* no zooming

* read the TERMStig!

* dynamic check for page being read

* rename scroll position slot

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-02-12 09:48:15 +01:00
Adeeb Shihadeh d75ff15048 fix font weights in qt ui 2021-02-05 17:50:19 -08:00
Adeeb Shihadeh 4a03d1cb64 blue bg in training guide 2021-01-29 13:41:48 -08:00
Adeeb Shihadeh d3756bc475 cleanup training guide 2021-01-29 13:21:10 -08:00
grekiki c5762456e1 Qt training guide (#19953)
* initial commit

* background kind of works

* checkpoint

* temp

* add images

* all works

* remove some files

* rename

* enable restart

* remove first

* lfs try1

* refactor labels

* remove nonneeded code

* centered

* more centering

* don't hardcode the training version

Co-authored-by: Comma Device <device@comma.ai>
2021-01-29 17:54:00 +01:00
Adeeb Shihadeh 406ceb2ab2 fix qt onboarding text color 2021-01-22 13:34:27 -08:00
grekiki 2eb81aa1d3 Qt parents3 (#19870)
Not just parents, we also made the UI look nicer.
2021-01-22 13:51:26 +01:00
Adeeb Shihadeh d5deaf2e6b make onboarding a bit nicer 2020-12-20 16:07:33 -08:00
Adeeb Shihadeh c8ab38a8a8 small onboarding cleanup 2020-11-25 00:01:05 -08:00
Willem Melching 99ea3ef178 Qt ui: fix onboarding 2020-11-24 13:53:15 +01:00
Adeeb Shihadeh eae04fc67e improve onboarding (#2537) 2020-11-12 21:37:02 -08:00
Adeeb Shihadeh 9d84a835d8 Qt onboarding (#2465)
* terms

* clean up

* style
2020-10-31 17:07:04 -07:00