Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
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>
2 years ago
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 ef315ac277
.
* gray checked button on disable
2 years ago
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
2 years ago
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
3 years ago
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
3 years ago
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>
3 years ago
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
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
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
3 years ago
Dean Lee
6e25ae9798
DevicePanel: fix dangling reference to params ( #23154 )
3 years ago
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
3 years ago
Dean Lee
63779c385d
ui: disable toggles while onroad ( #22975 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
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>
4 years ago
Dean Lee
2c6d27f482
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
4 years ago
Dean Lee
7009ba0344
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
d09c1de0ec
SoftwarePanel: fix padding ( #21237 )
4 years ago
Adeeb Shihadeh
1c952e75b5
fix settings buttons not disabling if started with ignition on
4 years ago
Adeeb Shihadeh
895c054213
UI: rename developer -> software in settings ( #21117 )
4 years ago
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>
4 years ago
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>
4 years ago
Willem Melching
e66bbec52b
Update UI fixes/improvements ( #21089 )
...
* Show latest update time
* utc
* make work more than once
* cleanup
* whitespace
* only while offroad
4 years ago
Maxime Desroches
3c058e0b64
UI: add missing override identifiers ( #21081 )
4 years ago
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>
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
ed3b6bd90c
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
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
iejMac
928fbecec0
UI: Reset settings state when hiding panels ( #20670 )
...
* git stat
* first panel and button reset
* progress
* toggles parent + list
* check if label nullptr
* style
* fixes
* fixes
* remove line
* white space
* tabs and spaces
4 years ago
iejMac
27ebd334dc
close android activities when settings is closed ( #20604 )
...
* close android activities
* new line
* only if activity is launched
* fix
4 years ago
Adeeb Shihadeh
c73781f840
scrolling improvements ( #20524 )
...
* fix scrolling problem
* continue
* set panel margin in one place&add stretch to prevent title flicker
* adjust padding
* remove stretch
* no border
* fix padding
* better padding
* cleanup
* continue
* add stretch to prevent flicker
* reduce padding
* typo
* revert taht
* no background
* pretty good
* remove
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Comma Device
624065cb5b
fix offroadTransition signal name
4 years ago
iejMac
d63dab950a
disable buttons when onroad ( #20475 )
...
* disables reset calib
* works for all buttons
* naming convention + final works on PC
* stylesheets + works on manager.py
* fixing stylesheet
* add that backg
* no reviewing while onroad
* better disabled hint
* little cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
iejMac
806226820c
review training guide button ( #20466 )
...
* works
* move the param deletion
* clean that up
* Revert "move the param deletion"
This reverts commit 31d8a65f00
.
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
c89e17e0d5
add descriptions in settings ( #20453 )
...
* add descriptions
* scroll scroll
* clean up
* try this
* scrolling on touch
* better scrolling
* we can afford 30fps
* remove that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
61a0129fdc
tici touch ups ( #20434 )
...
* tici touch ups
* trim
* less squish
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
e547a97216
Qt UI: SSH keys ( #20430 )
...
* rename
* toggle control
* SSH toggle
* hw
* qcom
* lines
* fix that
* start refactoring
* adding keys
* hacky remove
* alerts
* fix qcom ssl
* use the same widgets everywhere
* clean up
* more cleanup
* little more
* bigger
* fix tethering toggleg
4 years ago
Dean Lee
8be2e07f4f
Qt: use the AbstractControl for multiple types of controls ( #20417 )
...
* class ClickableLabel
* scrollable widget
* rename to controls.cc
* rename to AbstractControl
* cleanup
* remove useless stylesheets
* change button stylesheet
* cleanup
* better margin
* cleanup
cleanup
* remove bottom line from AbstractControl
* no scrolling for now
* add those back
* style
* clean up
* don't need a function for that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
ddde7efb4b
Qt: update developer page when it's visible ( #20396 )
...
* simplify&cleanup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
d34e414a65
SettingsWindow: use list instead of map to preserve insertion order for sidebar items. ( #20424 )
...
* use a list instead of map to preserve insertion order
* unused signal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
b60cd8d0a0
record front lock ( #20400 )
...
* record front lock
* only if set
* add to internal installer
* move that
* change that bck
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
1c369a9009
Qt on NEOS ( #20153 )
...
* qt on neos
* cleanup
* check arch
* fix pc
* fix mac
* base libs
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
f9d8652cbd
Qt UI refactoring + improvements ( #20033 )
4 years ago
grekiki
7408569c1b
Add Github SSH keys ( #19879 )
4 years ago
grekiki
2eb81aa1d3
Qt parents3 ( #19870 )
...
Not just parents, we also made the UI look nicer.
4 years ago
grekiki
24356b4a1e
Hotspot password ( #19854 )
...
Now there is a possibility of changing a tethering password. The WiFi UI was also modified, so it should look nicer now.
4 years ago
Adeeb Shihadeh
550b5e422f
qt settings style ( #19588 )
...
* dark mode
* inter
* frame
* this looks pretty good
* revert that
* fix bg hack
* don't override style sheet
4 years ago
Adeeb Shihadeh
c0b1518a9b
Qt settings: highlight selected nav button
4 years ago
Adeeb Shihadeh
8320a153fb
move offroad alerts to home screen ( #2681 )
...
* move offroad alerts to home screen
* offroad aletrs work, but sidebar doesn't look nice
* fix sidebar
* looks better
* cleanup
* little bigger
Co-authored-by: grekiki <gregor1234567890@gmail.com>
4 years ago
Adeeb Shihadeh
fed642c4ed
Qt offroad home screen ( #2672 )
...
* 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
4 years ago
grekiki
744a3317e3
Offroad alerts ( #2664 )
...
We now have a working offroad alerts
4 years ago