* accept touch events in map settings
* draft
* draft 2.0
* revert this stuff
* need this
* fix
* clean up debug prints
* fraft
* only show map on closeSettings if nav
* works!
* can't do it here
* I was going to connect signals from UIState to HomeWindow, then to OnroadWidget, but that seems like too much
* just need to keep track of it in onroad, seems like the cleanest option
* ideally we show the map where we set the scene variable, and that's in map.cc
* old variable
* comments
* less confusing
* app comment
* add back
* fix
* move to top
* remove this comment
old-commit-hash: 34a5e626d6
* OffroadHome: move experimental mode button to right column
* OffroadHome: replace DriveStats with PrimeAd when no prime
* SetupWidget: remove PrimeAd
* SetupWidget: tweaks to fit smaller space
* UI: add WiFiPromptWidget
* WiFiPrompt: update using network type
* add WiFiPromptWidget to offroad home
* reduce spacing to fit vertical space
* WiFiPromptWidget: open Wi-Fi settings
* no longer necessary
* cleanup
* shrink PrimeUser widget and increase Setup Wi-Fi font size
* correctly resize widget when stack index changes
* layout tweaks
* debug
* spacing
* slightly improved style
* helps -> help
* .
old-commit-hash: 4f815db141
* 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
* multilang date
* update translations
* add language to uistate
* update translations
* use it here too
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 27e1ec8fd3
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* clean up
* clean up 2 and missing tr
* wrap more strings
* missing updater
* fixes
* add basic test to ensure all strings wrapped
* try in CI
* clean up
* test name
* fix test
* always install qt dev tools
* fix deps
* fast test
* add section so it prints multiple errors
* debug
* debug
get rid of those
* make any difference?
* comment
* oh...
* run with offscreen platform
* try out section
* clean up
* fix missing wrappings (it works!)
* move down
* space
* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201
* The default implementation calls mousePressEvent().
* no sidebar when entering body
* wrong one
* you can't double tap with body anyway (fixes inconsistencies with prime vs not prime)
* hide sidebar
old-commit-hash: 3a2bcc092c
* 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
* new setup widget
* set fixed width and align right
more closely match
* text wrapping fixes
* prime widget draft
* rename
* remove username
* fix weights
* ad
* qr
* pressed color
* cleanup
* simplify
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6fc999fc53
* draw border in OnroadAlerts
* non transparent
* no scissor
* set video_rect to the full size
* fix header gradient
* Revert "fix header gradient"
This reverts commit f5565c19d5cabda22fe6b60af23dc26727ecd5bc.
* Revert "set video_rect to the full size"
This reverts commit c012db105a8cabd140971208431d83ae3592b70e.
* fix scissor
* fix header gradient
* set scissor box to video_rect when draw lines
* move up eta
* init alert_size to NONE
* remove glScissor
* cleanup
* rename draw_video_frame to draw_vision_frame
* remove space
* add comment
* move border to OnroadWindow
* cleanup signals
* fw declare MapWindow
* fix build err
* remove viz_rect
* fix build err
* continue
* cleanup
* text rect:no border
* use signals
* remove space
cleanup
* merge master
* fix map eta
* get bgColor from alerts
* update alerts in OnroadWindow
* add function clearAlert
* repaint border
* init bg color to STATUS_DISENGAGED
* no black frame
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f0389f7e2d
* 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
* various nav improvements
* use traffic aware routing
* read last position from param
* allow compute without gps when no route
* cleanup
* properly hide route
* set pitch
old-commit-hash: 14f09e4ee1
* 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>
old-commit-hash: 86aefbe766
* 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