Dean Lee
b4f7e76531
ui/util: add a helper class ParamWatcher ( #28978 )
...
* new class ParamWatcher
* Update selfdrive/ui/qt/util.cc
* Update selfdrive/ui/qt/util.h
* Update selfdrive/ui/qt/util.cc
* Update selfdrive/ui/qt/util.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-16 13:17:16 -07:00
Dean Lee
9295aca8ea
ui: disable longitudinal personality settings when using stock long ( #28443 )
...
* disable longitdinal personality settings
* disable title label
* Revert "disable title label"
This reverts commit ef315ac2770191f1309f774185266e0cd9fe54b0.
* gray checked button on disable
2023-06-08 16:03:18 -07:00
Shane Smiskol
58b84fb401
ui: offroad experimental mode button ( #26498 )
...
* 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
2022-11-15 22:18:26 -08:00
Adeeb Shihadeh
c4e63d14ab
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
2022-09-15 15:12:36 -07:00
Adeeb Shihadeh
655a64b603
single longitudinal toggle for e2e and disable radar ( #25688 )
...
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
2022-09-07 17:12:49 -07:00
Adeeb Shihadeh
cc3857eb62
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai >
2022-07-18 21:18:10 -07:00
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
2022-04-18 17:55:23 -07:00
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
2021-12-14 22:28:12 -08:00
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
2021-12-14 12:14:51 +01:00
Dean Lee
6e25ae9798
DevicePanel: fix dangling reference to params ( #23154 )
2021-12-07 10:41:41 -08:00
Dean Lee
5394fe1ae7
DevicePanel: split long constructor into multiple functions ( #23043 )
...
* begin refactor
* split long constructor to multiple functions
* one connection to signal
* merge master
2021-11-29 11:14:34 +01:00
Dean Lee
63779c385d
ui: disable toggles while onroad ( #22975 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-11-18 21:45:40 -08:00
Dean Lee
abffc8b2ad
UI: new class ListWidget ( #21273 )
...
* ListWidget
* continue
* remove function horizontal_line
* cleanup
* default spacing 25
* fix networkpanel margin on EON
* solid expanding
* 0 width
* cleanup
* apply reviews
* remove function addLayout,make it looks like QLIstWidget
* rename addWidget to addItem
* rebase master
* rebase master
* merge master
* cleanup
* fixed title bar position
* no flash while folding
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-09-19 15:14:54 -07:00
Dean Lee
2c6d27f482
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
2021-06-16 00:08:02 -07:00
Dean Lee
7009ba0344
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-06-12 21:36:35 -07:00
Dean Lee
d09c1de0ec
SoftwarePanel: fix padding ( #21237 )
2021-06-11 17:40:21 -07:00
Adeeb Shihadeh
1c952e75b5
fix settings buttons not disabling if started with ignition on
2021-06-08 00:15:40 -07:00
Adeeb Shihadeh
895c054213
UI: rename developer -> software in settings ( #21117 )
2021-06-02 19:55:38 -07:00
Adeeb Shihadeh
9876723169
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
2021-06-01 20:59:41 -07:00
Adeeb Shihadeh
65e1d8f633
UI: add button to check for updates ( #21103 )
...
* UI: add button to check for updates
* send signal
* this is better
* that's in the description
* revert that
Co-authored-by: Comma Device <device@comma.ai >
2021-06-01 17:45:04 -07:00
Willem Melching
e66bbec52b
Update UI fixes/improvements ( #21089 )
...
* Show latest update time
* utc
* make work more than once
* cleanup
* whitespace
* only while offroad
2021-05-31 15:33:49 +02:00
Maxime Desroches
3c058e0b64
UI: add missing override identifiers ( #21081 )
2021-05-30 10:12:11 +02:00
Maxime Desroches
e3f6360e45
UI: Updated in settings ( #21051 )
...
* last update time + release notes
* remove test
* revert to previous constructor
* change label name
* time format for last update check
* cleanup
* add time formatting function
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-05-28 21:15:45 -07:00
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 >
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
ed3b6bd90c
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai >
2021-05-04 10:05:23 -07:00
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
2021-05-03 11:53:11 +02:00