Cameron Clough
b3cfe962cf
user event flagging ( #25517 )
...
* setup home_btn in sidebar
* create UserFlag msg
* replay: show and skip to user flags
* update translations
* bump to cereal master
* remove comment
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Shane Smiskol
879a7c3201
UI: wrap all text for translation ( #24961 )
...
* 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
3 years ago
Willem Melching
963de40211
ui: change sidebar font to Inter ( #24931 )
...
* change sidebar to inter
* clean up metric color rect radius
* fix text placement
* simplify rect placement
3 years ago
Adeeb Shihadeh
e38b93fc31
athena: remove redirect detection for old prime ( #24662 )
...
This worked on old magenta, but doesn't work on new magenta
or blue prime.
3 years ago
George Hotz
f3d390bdfa
sidebar: the word SEARCHING didn't fit
3 years ago
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
3 years ago
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
3 years ago
Dean Lee
ddc35826f7
sidebar: dont update states when hidden ( #22948 )
3 years ago
Achilles308
d888ef8f89
UI: re-order sidebar temp wording ( #22323 )
4 years ago
Adeeb Shihadeh
084b932eeb
UI: show thermal status instead of ambient temp ( #22041 )
...
* no number
* space evenly
4 years ago
Dean Lee
67f5522914
sidebar: simplify updateState with QPair ( #21927 )
...
* ItemStatus
* add whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
8f7fc61e48
Sidebar: set Qt::WA_OpaquePaintEvent attribute ( #21782 )
4 years ago
Adeeb Shihadeh
915da738e8
open sidebar on mouse release
4 years ago
Adeeb Shihadeh
7b94cf0ca7
athena: detect no prime ( #21718 )
...
* detect no prime
* show in sidebar
* revert timeout
* clear ping param
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
7211a4f6cc
sidebar: only show gps indicator while onroad
4 years ago
Adeeb Shihadeh
a2f9259ebf
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
4 years ago
Adeeb Shihadeh
8b6cf406ab
remove gps accuracy from sidebar
4 years ago
Dean Lee
2c6d27f482
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
4 years ago
Dean Lee
648b60a381
sidebar: display full signal when network strength is GREAT ( #21259 )
...
* full signal when network strength is GREAT
* apply review
* space
4 years ago
Dean Lee
d82fa763d8
remove double semicolons ( #21215 )
4 years ago
Dean Lee
48696105ae
sidebar: draw network strength without images ( #21185 )
...
* draw network strength without images
* Trigger Build
4 years ago
Comma Device
1fd7f66a14
fix sidebar network type and signal
4 years ago
Dean Lee
179ff6e7ae
Sidebar: repaint only when properties updated ( #20929 )
...
* use qt_property
s
* cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
f9f84fe8a2
athenad: reconnect after not receiving ping ( #20974 )
...
* athenad: reconnect after not receiving ping
* make sidebar timeout longer than timeout in athena
* whitespace
4 years ago
George Hotz
f43671c987
Move MCLK from 24 -> 19.2 mhz + Add accuracy in sidebar ( #20960 )
...
* wip
* one day i'll flip that right
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
533bc30c2e
UI: remove duplicate capnp readers ( #20855 )
...
* refactor submaster
* rebase master
* CAPNP best pratice
* zero initialize
* vwp_w has not been initialized before UIState()
* no static
* rebase master
* Minimize refactoring
* cleanup
* remove gpsOk
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
e06f9828ea
match nvg onroad alerts ( #20854 )
4 years ago
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>
4 years ago
Adeeb Shihadeh
e1a58e6268
match nvg sidebar ( #20847 )
4 years ago
Willem Melching
ab319d4f54
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
4 years ago
Willem Melching
3a95d3ccaa
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 757d2923d2
.
4 years ago
Dean Lee
757d2923d2
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
4 years ago
Dean Lee
c405442820
Sidebar: update text and color in one place ( #20777 )
...
* do not set text&color in ctor
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
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
4 years ago
Adeeb Shihadeh
1c89825d86
trigger sidebar status widget repaints on color change
4 years ago
Adeeb Shihadeh
db9319405b
Qt Sidebar ( #20775 )
...
* 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>
4 years ago