Commit Graph

15 Commits (spacecruft)

Author SHA1 Message Date
Kevin Roscom ae09afa305 remove branding 2022-04-03 14:28:08 -06:00
Willem Melching 86aefbe766
Mapbox widget (#20751)
* squash mapbox stuff

* only hacks for pc

* no hack there

* only update when needed

* get destination from param

* no need for user agent

* add athena method

* change nav path color

* layout cleanups

* margin top

* add build scripts

* rename header file

* set pitch

* fix icon blinking

* keep both options

* draw on top to fix last blinking

* only recomput with gps

* fix include

* put map in onroadwidget

* update mapbox plugin to allow specifying directions url

* cycle through views

* dynamic resize

* only when present

* add map_helpers

* whitespace

* small fixes

* let scons decide

* update setup files

* implicit dependency

* fix alerts

* Update selfdrive/ui/SConscript

* move clearLayout to util.h

* only build when map.cc present

* move maps to own folder

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-17 14:57:07 +02: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
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
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
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 550b5e422f
qt settings style (#19588)
* dark mode

* inter

* frame

* this looks pretty good

* revert that

* fix bg hack

* don't override style sheet
2020-12-24 14:10:43 -08:00
Willem Melching 118faa71e5
simplify settings a bit (#2384) 2020-10-22 17:11:52 +02:00
Adeeb Shihadeh de75992c48 remove unused img 2020-10-09 15:48:05 -07:00
Adeeb Shihadeh 671183184b
UI cleanup + startup time improvement (#2295) 2020-10-08 19:29:56 -07:00
Willem Melching e115c51452
Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
2020-08-20 17:16:44 +02:00
ZwX1616 922055f464
orange distracted alert is now continuous (#1412) 2020-04-23 14:15:05 -07:00
Andrew Valish 5ba6beed17
Refactor frame (#1192)
* start drawing new sidebar, add assets

* add thermal to ui, draw network_type and battery

* draw sidebar metrics, add freeSpace and paTemp

* draw static panda metric and network strength, start ubloxGnss messaging

* use array for network_img

* start sidebar touch events

* prevent multiple touch events with touch_timeout

* filter old touches, isolate sidebar events

* add hwType check with timeout for panda metric

* cleanup touch poll, handle vision touch, remove frame and black apks

* cleanup per willem comments

* update offroad, only read active_app from cereal

* tweak sidebar behavior, show active app status

* update offroad apk

* read networkstrength from thermal in sidebar
2020-03-09 19:13:32 -07:00
George Hotz 41d99c3b70 selfdrive/assets 2020-01-17 10:47:43 -08:00