iejMac
5dddcac027
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
old-commit-hash: 928fbecec0
4 years ago
Dean Lee
d33538e5f3
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>
old-commit-hash: 57fe8488ac
4 years ago
Comma Device
7a01d56255
fix cut off qr code
...
old-commit-hash: 18e60751c2
4 years ago
Dean Lee
65a52f5163
remove memory leak in create_jwt() ( #20547 )
...
old-commit-hash: d14aba4580
4 years ago
iejMac
9238fade18
scrolling in text window ( #20564 )
...
* grid layout + better scrollbar
* style
* style
* tabs
* scrollbar behind button fix
* alerts background color fix (#20568 )
* horizontal style + more space for scrollbar
* fixes
* fixes
* fixes
* remove background on scroll bar
* fix horizontal overflow
* indent'
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 10e4d32197
4 years ago
iejMac
bcbf844dda
alerts background color fix ( #20568 )
...
old-commit-hash: 86a78581e3
4 years ago
Comma Device
c671dca363
update qt setup
...
old-commit-hash: 204d878c6f
4 years ago
iejMac
a2e14a8a0c
Qt scroller class ( #20549 )
...
* initial commit
* class works
* cleanup
* naming
* text window
* fixes
* alerts are now scrollable
* dismiss
* fixed placement
* realease scrolling
* better
* better
* revert text
* naming
* parent
old-commit-hash: 9afa14c47f
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Dean Lee
86a217dca7
OffroadAlert: update alerts inplace ( #20463 )
...
* refactor
* cleanup
* use QWdiget instead of QStackWidget
* continue
* remove duplicate setMargin
* dont parse alerts if updateAvailable
* kind of works
* alerts work
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bf1001e54b
4 years ago
Adeeb Shihadeh
846a43b3e4
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>
old-commit-hash: c73781f840
4 years ago
iejMac
4a3e73ddb5
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>
old-commit-hash: d63dab950a
4 years ago
Dean Lee
c5194fcb85
Qt: show username for current SSH keys ( #20508 )
...
* Show username for current SSH keys
* Update ssh_keys.cc
* Update ssh_keys.cc
* Update selfdrive/ui/qt/widgets/ssh_keys.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename param
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5cd676797a
4 years ago
Willem Melching
8c296312e3
Cache prime/points widget ( #20497 )
...
* cache prime status on homescreen
* use stacked widget
* add caching and clear on 404
old-commit-hash: d43d625610
4 years ago
Willem Melching
69cc390ffb
drive_stats.cc: fix distance rounding
...
old-commit-hash: 32330bbf89
4 years ago
Dean Lee
ae8893a77f
Qt: cache home screen state ( #20395 )
...
* cache drive stats
* don't parse response if it's the same as previous
* remove blank line
* cleanup
* update stats in place
* validate json
* add DriveStats to params.pyx
* cleanup
* cleanup
* remove //#include
* simplify
* add cache to RequestRepeater
* rename CachedDriveStats to ApiCacheDriveStats
* rename ApiCacheDriveStats to ApiCache_DriveStats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 80ae6a7e1b
4 years ago
Dean Lee
7756fb0739
Qt input: pass QString by reference ( #20467 )
...
* simple arry for keyboard layout
* revert some changes
old-commit-hash: f7957f681d
4 years ago
Adeeb Shihadeh
30f036680b
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>
old-commit-hash: 7f56991b41
4 years ago
Adeeb Shihadeh
fd5ea05d20
add description for SSH keys
...
old-commit-hash: c33f839e9d
4 years ago
Adeeb Shihadeh
da90758a55
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>
old-commit-hash: c89e17e0d5
4 years ago
Adeeb Shihadeh
96378a5b91
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ccaec495c
4 years ago
Adeeb Shihadeh
fe474a58c4
fix offroad home on tici ( #20435 )
...
* grid layout was a hack
* duplicate slot
* looks better
* fix that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 106ed2ea66
4 years ago
Adeeb Shihadeh
e2eb4034f5
small style improvement in settings
...
old-commit-hash: 647c5804b8
4 years ago
Adeeb Shihadeh
c360723411
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
old-commit-hash: e547a97216
4 years ago
Comma Device
c3c741af70
fix margin on c2
...
old-commit-hash: eda9538cc3
4 years ago
Dean Lee
d7cf75fc64
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>
old-commit-hash: 8be2e07f4f
4 years ago
Adeeb Shihadeh
594c5f1f4b
remove redundant update available title
...
old-commit-hash: ce5d93da44
4 years ago
Comma Device
20df6ce147
fix margin after setting DPI
...
old-commit-hash: 7954256a09
4 years ago
Adeeb Shihadeh
17a3d6cb68
Qt UI: offroad home touchups ( #20416 )
...
* brand
* fix overlap
* touchup prime widget
* more prime widget cleanup
* don't need background layout
* fix overlap again
* more prime
* looks pretty good
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0b16ed9dc9
4 years ago
Dean Lee
38978fff45
OffroadAlert: read alert keys in constructor ( #20408 )
...
old-commit-hash: c9ac15bb96
4 years ago
Dean Lee
1364c0c794
QT: click outside of confirmation dialog to dismiss ( #20394 )
...
old-commit-hash: 90da15778c
4 years ago
Adeeb Shihadeh
77bc36dc52
fix reboot button in offroad alerts
...
old-commit-hash: 4097fe150a
4 years ago
Adeeb Shihadeh
33022f854c
fix rotation on input dialog
...
old-commit-hash: 4c84a33d01
4 years ago
Willem Melching
d83935e19d
Qt ui: fix minimum pass length
...
old-commit-hash: a0987cb098
4 years ago
Adeeb Shihadeh
fa0bd1990f
qt confirmation dialogs ( #20202 )
...
* confirmation dialog widget
* looks pretty good
* fix qcom2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d8418f2abe
4 years ago
Adeeb Shihadeh
7ac52e2374
qt fixups ( #20171 )
...
* no outline
* disable on qcom for now
* fix qt 5.12.8
* cleanup drive stats
* widgets cleanup
* ssl test
* revert that
* disable by default
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec8b21c261
4 years ago
grekiki
1a24d4869d
Qt-UI Cleanup SSH and Tethering password ( #20169 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c60cc0310c
4 years ago
grekiki
cd38b27338
Qt-UI fix ssh username ( #20159 )
...
* Fix SSH username. Squased Gregor's commits.
* revert keyboard size
* reduce diff
* fix build
* whitespace
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4c99d83474
4 years ago
Adeeb Shihadeh
bf0d5c2140
Revert "fix some refactor commits that weren't tested ( #20140 )"
...
This reverts commit e25516e0a4ea9cfe459c400c331e1206ea3336c8.
old-commit-hash: 1ef7d4a4c8
4 years ago
grekiki
4af3c6f533
fix some refactor commits that weren't tested ( #20140 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9e29d5621c
4 years ago
grekiki
0346516eeb
UI fixes ( #20069 )
...
We fix some UI issues. Also UI should be more resistant to network manager not running.
old-commit-hash: 43db36d829
4 years ago
Adeeb Shihadeh
80c3d67a28
Qt UI refactoring + improvements ( #20033 )
...
old-commit-hash: f9d8652cbd
4 years ago
Adeeb Shihadeh
10bf2690f1
fix font weights in qt ui
...
old-commit-hash: d75ff15048
4 years ago
grekiki
0b4151df44
Multithreaded ssh activation ( #19988 )
...
No more lag on SSH enable/disable
old-commit-hash: cc1308c7df
4 years ago
Dean Lee
41c117bba0
keyboard.cc: get value by reference in ranged based loop ( #19950 )
...
old-commit-hash: a48ab6130c
4 years ago
grekiki
2ebacdc364
Add Github SSH keys ( #19879 )
...
old-commit-hash: 7408569c1b
4 years ago
grekiki
eea78cd686
Qt parents3 ( #19870 )
...
Not just parents, we also made the UI look nicer.
old-commit-hash: 2eb81aa1d3
4 years ago
Adeeb Shihadeh
05737dd550
move Qr code lib to phonelibs ( #19871 )
...
old-commit-hash: e54db636f7
4 years ago
grekiki
ded5d24781
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.
old-commit-hash: 24356b4a1e
4 years ago
grekiki
ff0c87d63c
fix LGTM issues ( #19868 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: efe8c54a2e
4 years ago