Cameron Clough
07084dcbaf
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>
old-commit-hash: b3cfe962cf
3 years ago
Shane Smiskol
2c5e890a23
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
old-commit-hash: 879a7c3201
3 years ago
Willem Melching
e9677da2d4
ui: change sidebar font to Inter ( #24931 )
...
* change sidebar to inter
* clean up metric color rect radius
* fix text placement
* simplify rect placement
old-commit-hash: 963de40211
3 years ago
Adeeb Shihadeh
402a0800dd
athena: remove redirect detection for old prime ( #24662 )
...
This worked on old magenta, but doesn't work on new magenta
or blue prime.
old-commit-hash: e38b93fc31
3 years ago
George Hotz
05be126142
sidebar: the word SEARCHING didn't fit
...
old-commit-hash: f3d390bdfa
3 years ago
Dean Lee
f0eb7a5402
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
old-commit-hash: 75687169eb
3 years ago
Dean Lee
1fc1819c2b
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
old-commit-hash: 2483fc5d5d
3 years ago
Dean Lee
ec71ceead3
sidebar: dont update states when hidden ( #22948 )
...
old-commit-hash: ddc35826f7
3 years ago
Achilles308
6770024b14
UI: re-order sidebar temp wording ( #22323 )
...
old-commit-hash: d888ef8f89
4 years ago
Adeeb Shihadeh
e4bd887f5c
UI: show thermal status instead of ambient temp ( #22041 )
...
* no number
* space evenly
old-commit-hash: 084b932eeb
4 years ago
Dean Lee
dfac8f778f
sidebar: simplify updateState with QPair ( #21927 )
...
* ItemStatus
* add whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67f5522914
4 years ago
Dean Lee
1d29118e0a
Sidebar: set Qt::WA_OpaquePaintEvent attribute ( #21782 )
...
old-commit-hash: 8f7fc61e48
4 years ago
Adeeb Shihadeh
d959a8baa2
open sidebar on mouse release
...
old-commit-hash: 915da738e8
4 years ago
Adeeb Shihadeh
e8161a42ee
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>
old-commit-hash: 7b94cf0ca7
4 years ago
Adeeb Shihadeh
d9bb0b8001
sidebar: only show gps indicator while onroad
...
old-commit-hash: 7211a4f6cc
4 years ago
Adeeb Shihadeh
e24ff01513
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
old-commit-hash: a2f9259ebf
4 years ago
Adeeb Shihadeh
468032d27e
remove gps accuracy from sidebar
...
old-commit-hash: 8b6cf406ab
4 years ago
Dean Lee
d8ac1df789
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
old-commit-hash: 2c6d27f482
4 years ago
Dean Lee
1b51d71ef4
sidebar: display full signal when network strength is GREAT ( #21259 )
...
* full signal when network strength is GREAT
* apply review
* space
old-commit-hash: 648b60a381
4 years ago
Dean Lee
60c7e01d2d
remove double semicolons ( #21215 )
...
old-commit-hash: d82fa763d8
4 years ago
Dean Lee
7e5def641e
sidebar: draw network strength without images ( #21185 )
...
* draw network strength without images
* Trigger Build
old-commit-hash: 48696105ae
4 years ago
Comma Device
fc77b88fa9
fix sidebar network type and signal
...
old-commit-hash: 1fd7f66a14
4 years ago
Dean Lee
90d952b218
Sidebar: repaint only when properties updated ( #20929 )
...
* use qt_property
s
* cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 179ff6e7ae
4 years ago
Willem Melching
f923f47b98
athenad: reconnect after not receiving ping ( #20974 )
...
* athenad: reconnect after not receiving ping
* make sidebar timeout longer than timeout in athena
* whitespace
old-commit-hash: f9f84fe8a2
4 years ago
George Hotz
6922150ede
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>
old-commit-hash: f43671c987
4 years ago
Dean Lee
ebe3a39909
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>
old-commit-hash: 533bc30c2e
4 years ago
Adeeb Shihadeh
eb79a7214e
match nvg onroad alerts ( #20854 )
...
old-commit-hash: e06f9828ea
4 years ago
Dean Lee
e333e4f189
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>
old-commit-hash: 7222d0f20d
4 years ago
Adeeb Shihadeh
7b8f164793
match nvg sidebar ( #20847 )
...
old-commit-hash: e1a58e6268
4 years ago
Willem Melching
78bf4f5867
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>
old-commit-hash: ab319d4f54
4 years ago
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaa
4 years ago
Dean Lee
e0282ced49
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
old-commit-hash: 757d2923d2
4 years ago
Dean Lee
175bdf8773
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>
old-commit-hash: c405442820
4 years ago
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f
4 years ago
Adeeb Shihadeh
8b38c339f6
trigger sidebar status widget repaints on color change
...
old-commit-hash: 1c89825d86
4 years ago
Adeeb Shihadeh
f5e6a0c9a0
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>
old-commit-hash: db9319405b
4 years ago