Shane Smiskol
62024176c6
ui: toggle control supports active icons ( #26514 )
...
* support active icons
* function
* fix crash if not setting icon but active icon
* revert
* clean up
2 years ago
Shane Smiskol
7fcafa4022
ui: stretch abstract control title ( #26499 )
...
stretch toggle title so it's easier to expand
2 years ago
Adeeb Shihadeh
4639862bae
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
3 years ago
royjr
e4612ac4c4
ui: fix toggle spacing issue ( #25831 )
3 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
ff3f6de149
UI: fix reset calibration description
3 years ago
Dean Lee
dc3d94d662
UI: fix unable to scroll on 'Regulatory' page ( #25014 )
...
* fix unable to scroll on 'Regulatory' page
deleteLater after hide
* remove alert
* override exec
* set MousePressEventDelay to 0
* set to 0.01
* cleanup
* check event->pos()
3 years ago
Dean Lee
786152f0f1
remove trailing whitespaces ( #23716 )
3 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
3 years ago
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
3 years ago
Dean Lee
f482354e4e
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
3 years ago
Mayfield
5246f0231e
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 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
Adeeb Shihadeh
d5475ba946
nav: add button to clear current route ( #22167 )
...
* nav: add button to clear current route
* fix scroll
* retab
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
sshane
4ed4956240
settings: button press states ( #21771 )
...
* settings button press states
* tune color
* states for panel labels and close btn
4 years ago
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
c9d4dfe99f
DevicePanel: set specific stylesheet for reboot & poweroff buttons ( #21364 )
...
* set specific stylesheet for reboot&poweroff buttons
* remove hack
* fix css in network panel
4 years ago
Dean Lee
8675c970d4
UI: refactor ButtonControl ( #21315 )
4 years ago
Dean Lee
8f5c7e7bb5
UI widgets: remove unnecessary setLayout ( #21232 )
...
* remove setlayout
* remove setLayout
* space
* Update selfdrive/ui/qt/maps/map.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Dean Lee
b06b3ecb60
Use full include path ( #21194 )
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
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
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
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
Comma Device
eda9538cc3
fix margin on c2
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