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
Comma Device
18e60751c2
fix cut off qr code
4 years ago
Dean Lee
d14aba4580
remove memory leak in create_jwt() ( #20547 )
4 years ago
iejMac
10e4d32197
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>
4 years ago
iejMac
86a78581e3
alerts background color fix ( #20568 )
4 years ago
Comma Device
204d878c6f
update qt setup
4 years ago
iejMac
9afa14c47f
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
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
Dean Lee
bf1001e54b
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>
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
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
Dean Lee
5cd676797a
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>
4 years ago
Willem Melching
d43d625610
Cache prime/points widget ( #20497 )
...
* cache prime status on homescreen
* use stacked widget
* add caching and clear on 404
4 years ago
Willem Melching
32330bbf89
drive_stats.cc: fix distance rounding
4 years ago
Dean Lee
80ae6a7e1b
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>
4 years ago
Dean Lee
f7957f681d
Qt input: pass QString by reference ( #20467 )
...
* simple arry for keyboard layout
* revert some changes
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
c33f839e9d
add description for SSH keys
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
0ccaec495c
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
106ed2ea66
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>
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
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
Adeeb Shihadeh
ce5d93da44
remove redundant update available title
4 years ago
Comma Device
7954256a09
fix margin after setting DPI
4 years ago
Adeeb Shihadeh
0b16ed9dc9
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>
4 years ago
Dean Lee
c9ac15bb96
OffroadAlert: read alert keys in constructor ( #20408 )
4 years ago
Dean Lee
90da15778c
QT: click outside of confirmation dialog to dismiss ( #20394 )
4 years ago
Adeeb Shihadeh
4097fe150a
fix reboot button in offroad alerts
4 years ago
Adeeb Shihadeh
4c84a33d01
fix rotation on input dialog
4 years ago
Willem Melching
a0987cb098
Qt ui: fix minimum pass length
4 years ago
Adeeb Shihadeh
d8418f2abe
qt confirmation dialogs ( #20202 )
...
* confirmation dialog widget
* looks pretty good
* fix qcom2
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
ec8b21c261
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>
4 years ago
grekiki
c60cc0310c
Qt-UI Cleanup SSH and Tethering password ( #20169 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
grekiki
4c99d83474
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>
4 years ago
Adeeb Shihadeh
1ef7d4a4c8
Revert "fix some refactor commits that weren't tested ( #20140 )"
...
This reverts commit 9e29d5621c
.
4 years ago
grekiki
9e29d5621c
fix some refactor commits that weren't tested ( #20140 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
grekiki
43db36d829
UI fixes ( #20069 )
...
We fix some UI issues. Also UI should be more resistant to network manager not running.
4 years ago
Adeeb Shihadeh
f9d8652cbd
Qt UI refactoring + improvements ( #20033 )
4 years ago
Adeeb Shihadeh
d75ff15048
fix font weights in qt ui
4 years ago
grekiki
cc1308c7df
Multithreaded ssh activation ( #19988 )
...
No more lag on SSH enable/disable
4 years ago
Dean Lee
a48ab6130c
keyboard.cc: get value by reference in ranged based loop ( #19950 )
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
Adeeb Shihadeh
e54db636f7
move Qr code lib to phonelibs ( #19871 )
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