Adeeb Shihadeh
9215748080
UI: button released -> clicked ( #21606 )
4 years ago
Dean Lee
aee2b893a7
Qt: new class ElidedLabel ( #21277 )
...
* shorten ssid
* truncate with ellipsis
* rename to trancate
* truncate 22 characters
* elidedLabel
* trimmed
* remove function elidedString
* cache elidedTest
* rebase master
* minimizeSizeHint
* add sizeHint
* cleanup
* revert
* inherit from QLabel
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
8675c970d4
UI: refactor ButtonControl ( #21315 )
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
Maxime Desroches
3c058e0b64
UI: add missing override identifiers ( #21081 )
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
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
a60effc112
UI: fix initial toggle state after #20670
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
Dean Lee
57fe8488ac
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
98e55996f6
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
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
Adeeb Shihadeh
7f56991b41
Qt touchups ( #20465 )
...
* reduce minimum size
* clean that up
* consistent
* feels pretty good
* cleanup
* less laggy toggle
* openpilot
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
647c5804b8
small style improvement in settings
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