Shane Smiskol
d651bc802b
ButtonParamControl: use buttonClicked ( #31817 )
1 year ago
Shane Smiskol
2424e13aaf
no debug
1 year ago
Shane Smiskol
1589e0898c
ParamWatcher is nice
1 year ago
Shane Smiskol
4ffbc291a3
better nane
1 year ago
Shane Smiskol
5a61c9f382
don't write when setting checked (only user clicks)
1 year ago
Shane Smiskol
cb8dc633e9
setChecked activates buttonToggled and already writes param!
1 year ago
Shane Smiskol
dd9c6b7ad3
works but at what cost
1 year ago
Adeeb Shihadeh
073fc89ad4
Revert "UI: single-threaded CameraView ( #30397 )"
...
This reverts commit 17ac1d3c7b
.
1 year ago
Dean Lee
17ac1d3c7b
UI: single-threaded CameraView ( #30397 )
...
* single-threaded CameraView
* updateFrame
* inherit from CameraWidget
* clear frame on offroadTransition
* check frame_id
* optional
* unique_ptr
* CameraView
* cleanup
* cleanup
* log skipping frame
* fix driverview
* disconnectVipc
* debug inconsistent frame
* skip frame if uiPlan is outdate
* cleanup
* set connected = false
* support camerad reboot&seeking in replay
* cleanup
* qDebug
* use deque
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
2d466e70cd
ui: show wifi password by default ( #30766 )
...
* ui: show wifi password by default
* update immediately
1 year ago
Dean Lee
dbda641cee
ui: destroy egl_images in main thread ( #30253 )
...
* call eglDestroyImageKHR in ui thread
* assert
1 year ago
Dean Lee
011b1a6e6a
ui/ParamControl: do not create ConfirmationDialog on every click ( #30496 )
2 years ago
Justin Newberry
4b0d0b0f1e
cleanup cameraview shader ( #30520 )
...
cleanup shader
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
17cab9bb50
ui/controls.cc: fix QLabel leak ( #30382 )
...
fix QLabel leak
2 years ago
Dean Lee
0f6b16d1e0
ui/wifi.cc: fix small QPixmap leak ( #30395 )
...
fix QPixmap leaks
2 years ago
Shane Smiskol
d2c3c92fb4
Revert "ui/wifi.cc: fix QPixmap leaks" ( #30394 )
...
Revert "ui/wifi.cc: fix QPixmap leaks (#30377 )"
This reverts commit b4e1ad5e62
.
2 years ago
Dean Lee
b4e1ad5e62
ui/wifi.cc: fix QPixmap leaks ( #30377 )
...
fix QPixmap leaks
2 years ago
Adeeb Shihadeh
f80db10720
UI: remove drive stats ( #30183 )
...
* UI: remove drive stats
* little more
* vanish
2 years ago
Adeeb Shihadeh
377722fd5e
Update Python packages and pre-commit hooks ( #30149 )
...
* Update Python packages and pre-commit hooks
* fixes
* Update common/transformations/README.md
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Adeeb Shihadeh
023792c431
Revert "ui: brighten cameraview ( #29744 )"
...
This reverts commit a08cdfdda7
.
2 years ago
Dean Lee
a1306114bc
ui/CameraView: fix divide by zero issue ( #29770 )
2 years ago
ZwX1616
a08cdfdda7
ui: brighten cameraview ( #29744 )
...
* test
* test2
* Revert "test2"
This reverts commit 22e38f82ae
.
* Revert "test"
This reverts commit 717490c1bc
.
* looks fine
* mid
* description
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
c36774dfba
ui: rename QDialogBase to DialogBase ( #29675 )
...
rename QDialogBase to DialogBase
2 years ago
Dean Lee
0767a6dee5
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
2 years ago
Dean Lee
7bfd3dac81
cpplint: add filter `whitespace/comma` ( #29595 )
2 years ago
Dean Lee
99279b8eef
ui: use `enum PrimeType` for prime_type ( #29491 )
2 years ago
Dean Lee
ac93902983
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
2 years ago
Dean Lee
5fcb7e9038
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
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
5765c1d978
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
2 years ago
Adeeb Shihadeh
952d720b6e
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
2 years ago
Adeeb Shihadeh
0922a1040f
ui: less confusing wifi training ( #29137 )
...
* ui: less confusing wifi training
* update
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
e958ce1c31
ui: set max brightness when showing the QR code ( #28907 )
...
* set max brightness when showing the QR code
* set brightness in ui
* set in device
2 years ago
Adeeb Shihadeh
99f9d21e4b
ui: add nav to prime features ( #28842 )
2 years ago
Dean Lee
2d37c219e7
ui: cleanup controls ( #28809 )
...
* cleanup controls
* restore LayoutWidget
2 years ago
Dean Lee
32c5e6aafb
modeldata.h: convert constants to uppercase ( #28769 )
2 years ago
Cameron Clough
bc5a899024
UI: improved nav destination entry ( #28476 )
2 years ago
Dean Lee
2b800cf2e7
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@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
a92cd659ce
ButtonParamControl: minimum button width ( #28442 )
...
* min width
* param
2 years ago
Dean Lee
7f41047178
ui: refactor ButtonParamControl ( #28425 )
...
* refactor ButtonParamControl
* add pressed style
* connect to buttonToggled
* typo
2 years ago
Harald Schäfer
205c900742
Driving Personality setting (also changes follow distance) ( #24742 )
...
* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard
2 years ago
Cameron Clough
4f815db141
UI: connect to wifi prompt ( #28273 )
...
* OffroadHome: move experimental mode button to right column
* OffroadHome: replace DriveStats with PrimeAd when no prime
* SetupWidget: remove PrimeAd
* SetupWidget: tweaks to fit smaller space
* UI: add WiFiPromptWidget
* WiFiPrompt: update using network type
* add WiFiPromptWidget to offroad home
* reduce spacing to fit vertical space
* WiFiPromptWidget: open Wi-Fi settings
* no longer necessary
* cleanup
* shrink PrimeUser widget and increase Setup Wi-Fi font size
* correctly resize widget when stack index changes
* layout tweaks
* debug
* spacing
* slightly improved style
* helps -> help
* .
2 years ago
Cameron Clough
e875bcfaee
UI: remove comma points ( #28303 )
...
* UI: remove comma points
* remove param
2 years ago
Shane Smiskol
21f88f997d
Revert "ui: smooth wide cam transition" ( #28298 )
...
Revert "ui: smooth wide cam transition (#28277 )"
This reverts commit 26064196d0
.
2 years ago
Cameron Clough
13cf695738
UI: PrimeUserWidget cleanup ( #28300 )
...
* cleanup
* setMargin is obsolete
* more
2 years ago
Cameron Clough
387e865793
UI: update "Finish Setup" widget style ( #28287 )
...
* UI: update SetupWidget registration design
* SetupWidget: add icon
* Revert "SetupWidget: add icon"
This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
2 years ago
Cameron Clough
488975f06e
UI: add missing QPushButton pressed styles ( #28289 )
...
* UI: add missing QPushButton pressed styles
* keyboard is special
2 years ago
Shane Smiskol
26064196d0
ui: smooth wide cam transition ( #28277 )
...
* horribly messy
* bit simpler
* is this right?
* simpler and should work?
* used to be int/frames, but added easing so treat as float
* end slow (start fast)
* little faster
* clean up
* not needed
* try ease in/ease out and fix
* remove debugging print
* fix
* revert to previous curve
* based on speed
* not right
* fix
* fix
* this kinda works
* Revert zoom by speed
Revert "this kinda works"
This reverts commit 48aa30b945148b8eb79fbe33eb58e3fc3a6a7009.
Revert "fix"
This reverts commit 4ff2d33486231727d7cd68d366342c2273e3a315.
Revert "fix"
This reverts commit 15b22f8e8284eb017000856abb05b5e8973a6c0e.
Revert "not right"
This reverts commit 378b9965e14250c57ed39e1976de60d89054c2c8.
Revert "based on speed"
This reverts commit 1f7bfa5d73a2dee3740096da64eda24b33288b51.
Revert "Revert "not right""
This reverts commit 1beeb402534a755208d19771eb4a2afdc69b8739.
* better curve
* revert
* use constants and fixes
* up here too
* feels more intuitive to make zoom_transition=1 be zoomed in
* rm line
* fix
* cmt
* better handling
* better name
* zoom if ANY other stream is requested
* Update selfdrive/ui/qt/widgets/cameraview.cc
2 years ago
Dean Lee
8ca3be9788
ui: refactor setPrimeType ( #28143 )
...
handle prime type change in new function UIState::setPrimeType
2 years ago