* draft
* draft
* before qpushbutton
* icon, clean up button, clicked goes to toggles
* fix icon
* add imgs
* img
* make square
* works with layouts!
* fix gradient
* this looks good
* clean up
* clean up
* remove padding around couch
* use scene's experimental_model, new onroad design
* rename widget
* def want 3
* update translations
* add img
* add 25px of padding!
* make 300px (no change)
* clean up old images
* 5 px smaller
* add white img
* fix from merge
* no style sheets
* see how this looks on device
* aliased vertical line (clean up)
* clean up
* imgs
* couch
* delete
* bye bye
* expand toggle support
* clean up
* fix dynamic icon
* make exp icon dynamic
* order
* move to offroad
old-commit-hash: 58b84fb401
* UI: double click to switch between body and onroad views
* fix that
* Update selfdrive/ui/qt/home.cc
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 639255bd10
* refactor
* better loop
* remove stretch
* only refreshed by timer
* fix wrong bg color
* descending sort alert labels by severity
* remove duplicate stylesheet
* Update selfdrive/ui/qt/widgets/offroad_alerts.cc
* rebase master
* qt best pratice
* split offroadAlerts
* only show first time
* short variable name
* space
* don't do refresh in every showEvent
* Revert "don't do refresh in every showEvent"
This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.
* cleanup
rename name to key
cleanup
* add stretch back
* hide alert widgets when not alerts
* rebase master
* fix flash on startup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e836ed7f6e
* add home/work widgets
* remove todo
* set contents from response
* turn into buttons
* add navigate button
* fix includes
* close settings on nav press
* close sidebar when closing settings
* use live api endpoint
* larger fonts
* more text fits
* only place name
* remove static response
* properly clear
old-commit-hash: c21ea8b506
* revive #19877
* looks like a sidebar
* more like a sidebar
* cleanup
* fix qcom2
* style
* that's the sidebar
* more space
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: db9319405b
* new class FirstOrderFilter
* flick face icon
* revert ui_draw_vision_face
* new function reset()
* reset after update
* use filter to update brightness
old-commit-hash: 6db31b9a33
* fix high CPU usage when playing repeated sounds
* fix build
* fix cpu usage
* same behavior for now
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c030493eb6
* kind of works now
* QR code is now on screen
* testing is needed
* works, waiting for server update
* reduce diff
* refactoring part1
* refactor part2
* refactor part3
* works on PC
* fix build, annoying bug though...
* git is annoying
* more classes, still crashes after a while
* better style
* clearer qr code
* less code and test new ssh key
* no more AA
* rename and collect garbage
* no pairing widget without the internet connection
* No network connection
* more logs
* refactor the network calls
* no more leaking
* works
* cleanup
* spaces
* works on device
* fix merge
* don't run if screen is off
* always initialized
* stats updating, not running without scrren
* formatting
* nicer QR code
* ensure the registration
* no qr code if no IMEI or no HWSerial
* all works
* refactor
* better networking
* all functionality seems to work
* small cleanup
* get serial once
* Small cleanup
* No internet text
* Don't crash if private key not found
* no network should say so
* new qr code every 30 minutes
* 20FPS sidebar
* more responsive networking and QR
* more logs
* no log spam
* fix merge
* no running onroad
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 10bd761cd6
* 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: fed642c4ed
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: c52e3dfb08
* rotate ui 90 degree
* put rotation behind ifdef
* Also ifdef that
* ui intrinsic_matrix
* that doesnt do anything
* Keep parent on non qcom
old-commit-hash: 9bbb166303
* add Rect struct
* simplify layout calculation by using viz_rect
* fix
* add whitespace
* use the correct value for vwp_w
* correct vwp_w again
* rebase
* dd
old-commit-hash: 8417be6f40
* move android into own dir
* fix name
* maybe this works? qt ui doesn't work on mac
* fix that
* pc sound works
* fix pc build
* lowercase
* that needs to be real_arch
* split into classes
* fix typo in lib
* Fix cycle alerts
* Add qt multimedia libs to install scripts
* Add ui/android folder
* Fix android build
* Raise exception if sound init fails
* add missing return
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: acd1bde496
* refactor vision
* don't show slow frame message when in preview mode
* change draws to uint32_t
* set vision_seen=false after destroy
* remove vision_connect_thread
* refactor ui_update
* seelp 30ms when vision is not connected
* remove should_swap
* call ui_update_sizes before ui_draw
* rebase
* start bigger UI refactor
* don't need the touch fd
* fix qt build
* more cleanup
* more responsive
* more refactor
* fix for pc
* poll for frames
* lower CPU usage
* cleanup
* no more zmq
* undo that
* cleanup speed limit
* fix sidebar severity for athena status
* not aarch64
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 848301b091
* 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>
old-commit-hash: e115c51452