Adeeb Shihadeh
d1d828ad1e
UI: fix initial toggle state after #20670
...
old-commit-hash: a60effc1123254472b16bcd6ef5fbb03a2e4a5f7
2021-04-14 21:02:34 -07:00
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: 928fbecec0d88fff684f3eecf1306393ef21be05
2021-04-13 13:42:13 -07:00
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: 57fe8488ac8bf02ea7f2eb61be2e256ece773cd6
2021-04-06 15:02:40 -07:00
Comma Device
7a01d56255
fix cut off qr code
...
old-commit-hash: 18e60751c2a1792db39731c7e0371c715a422424
2021-04-05 20:14:12 -07:00
Dean Lee
65a52f5163
remove memory leak in create_jwt() ( #20547 )
...
old-commit-hash: d14aba45803fa3b49c48914d0c38f2c8872286b4
2021-04-05 10:05:04 -07:00
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: 10e4d321977928a7314cd4149ba29ea08798820a
2021-04-03 01:18:26 -07:00
iejMac
bcbf844dda
alerts background color fix ( #20568 )
...
old-commit-hash: 86a78581e392c7205a6ba62401ad7589963a8497
2021-04-02 14:03:49 -07:00
Comma Device
c671dca363
update qt setup
...
old-commit-hash: 204d878c6f538891f36073cf364f14c6561126d9
2021-04-01 22:12:33 -07:00
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: 9afa14c47fa40023cf1abb1956d7e2815aab9409
2021-04-01 14:03:31 -07:00
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f67aaaf715c941d417ae4d3b0187f388
2021-03-30 12:54:59 +02:00
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: bf1001e54b8a0a3f18fe1022f4ffd2e46f74e432
2021-03-29 21:50:16 -07:00
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: c73781f840fd82d8969a9d66c57f5726a8a11966
2021-03-29 14:29:23 -07:00
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: d63dab950a102bc69cca515b6f3ab4ffd896b4fd
2021-03-28 23:32:09 -07:00
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: 5cd676797a21215dcf574d545f38ec2e1a0b14f0
2021-03-28 22:32:33 -07:00
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: d43d62561063c4d3f8b10b08d7bde9ed8bd0f395
2021-03-26 14:53:12 +01:00
Willem Melching
69cc390ffb
drive_stats.cc: fix distance rounding
...
old-commit-hash: 32330bbf8930bf20ef9ef2c54682faa5c30eff6c
2021-03-26 14:52:47 +01:00
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: 80ae6a7e1b1d1ec231c4719b677fd08b22818ce1
2021-03-26 13:29:30 +01:00
Dean Lee
7756fb0739
Qt input: pass QString by reference ( #20467 )
...
* simple arry for keyboard layout
* revert some changes
old-commit-hash: f7957f681d2b2d336d7d4ad443f08f668af2da64
2021-03-25 14:15:58 -07:00
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: 7f56991b41c40a765125635919a91bca55815bd6
2021-03-24 21:18:12 -07:00
Adeeb Shihadeh
fd5ea05d20
add description for SSH keys
...
old-commit-hash: c33f839e9d1b7bb4b5f87b70affbe881a2f20795
2021-03-24 00:32:09 -07:00
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: c89e17e0d53bd643fb236cd637a0041292fb9c14
2021-03-24 00:22:33 -07:00
Adeeb Shihadeh
96378a5b91
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0ccaec495c16111f4be47ec9e4104750efed586c
2021-03-22 22:54:22 -07:00
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: 106ed2ea6664dc8332412407a87d578db01d42ff
2021-03-22 14:27:37 -07:00
Adeeb Shihadeh
e2eb4034f5
small style improvement in settings
...
old-commit-hash: 647c5804b8e8fc4cc0c43ec32d60ea0468ddb4df
2021-03-22 04:03:11 -07:00
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: e547a97216d226135e2b3a170fe0c525cc56f0e5
2021-03-22 03:52:28 -07:00
Comma Device
c3c741af70
fix margin on c2
...
old-commit-hash: eda9538cc3e04d0fd8b45d6c73dfb1bb5f72397e
2021-03-22 00:02:49 -07:00
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: 8be2e07f4f56bf784bd091d81df442b2718cff84
2021-03-21 23:53:56 -07:00
Adeeb Shihadeh
594c5f1f4b
remove redundant update available title
...
old-commit-hash: ce5d93da449ffb4eb5eeb869b98865f9d7253499
2021-03-21 21:06:34 -07:00
Comma Device
20df6ce147
fix margin after setting DPI
...
old-commit-hash: 7954256a09ab609c8cf8858462116ef5ca65c75f
2021-03-20 22:00:25 -07:00
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: 0b16ed9dc9a30b18998087e114acf14ff09c9708
2021-03-20 21:18:07 -07:00
Dean Lee
38978fff45
OffroadAlert: read alert keys in constructor ( #20408 )
...
old-commit-hash: c9ac15bb96ddf7d1aa7ae4eef4436aa1648761ec
2021-03-19 13:30:51 -07:00
Dean Lee
1364c0c794
QT: click outside of confirmation dialog to dismiss ( #20394 )
...
old-commit-hash: 90da15778cd69cb791bade97f75bd6c62e723200
2021-03-18 17:39:38 -07:00
Adeeb Shihadeh
77bc36dc52
fix reboot button in offroad alerts
...
old-commit-hash: 4097fe150a882856fcddbcfa43640342ef5fdd6b
2021-03-15 20:14:19 -07:00
Adeeb Shihadeh
33022f854c
fix rotation on input dialog
...
old-commit-hash: 4c84a33d01d1d2b5e8c32d3f586dd14f3830bd5a
2021-03-02 17:14:32 -08:00
Willem Melching
d83935e19d
Qt ui: fix minimum pass length
...
old-commit-hash: a0987cb0980a8b3b2501a329d5da80f960ea7b95
2021-03-01 13:55:48 +01:00
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: d8418f2abe2fba10a75238aa7692895acc5dcab5
2021-02-28 20:44:00 -08:00
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: ec8b21c261b28d62dd84c2a6fa28bef09f5c8ed0
2021-02-28 18:10:50 -08:00
grekiki
1a24d4869d
Qt-UI Cleanup SSH and Tethering password ( #20169 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c60cc0310caf15ac00b3f306fd6b7b3330f6e16c
2021-02-26 14:08:26 +01:00
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: 4c99d83474336420badb2a12335b745c9c301ce6
2021-02-25 18:27:00 +01:00
Adeeb Shihadeh
bf0d5c2140
Revert "fix some refactor commits that weren't tested ( #20140 )"
...
This reverts commit e25516e0a4ea9cfe459c400c331e1206ea3336c8.
old-commit-hash: 1ef7d4a4c8aa8adb93ac64772673b0014bec0ead
2021-02-24 12:09:19 -08:00
grekiki
4af3c6f533
fix some refactor commits that weren't tested ( #20140 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9e29d5621c22afa405a1ae0109ab1a2916932765
2021-02-24 17:52:37 +01:00
grekiki
0346516eeb
UI fixes ( #20069 )
...
We fix some UI issues. Also UI should be more resistant to network manager not running.
old-commit-hash: 43db36d829c4f8a6c551c55d54d091c0c05ccc54
2021-02-15 13:42:02 +01:00
Adeeb Shihadeh
80c3d67a28
Qt UI refactoring + improvements ( #20033 )
...
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -08:00
Adeeb Shihadeh
10bf2690f1
fix font weights in qt ui
...
old-commit-hash: d75ff1504876e4da40097504672f2ba360821ca3
2021-02-05 17:50:19 -08:00
grekiki
0b4151df44
Multithreaded ssh activation ( #19988 )
...
No more lag on SSH enable/disable
old-commit-hash: cc1308c7dffa8735bcb8f0a021f9755588efdf30
2021-02-01 19:46:03 +01:00
Dean Lee
41c117bba0
keyboard.cc: get value by reference in ranged based loop ( #19950 )
...
old-commit-hash: a48ab6130c857fce15a5266af93ca5689cc207a4
2021-01-28 11:35:38 -08:00
grekiki
2ebacdc364
Add Github SSH keys ( #19879 )
...
old-commit-hash: 7408569c1b7fc858125c2ec131037ccc407aad3a
2021-01-27 12:07:17 +01:00
grekiki
eea78cd686
Qt parents3 ( #19870 )
...
Not just parents, we also made the UI look nicer.
old-commit-hash: 2eb81aa1d33887bd11083bc4f57e6f51271198f9
2021-01-22 13:51:26 +01:00
Adeeb Shihadeh
05737dd550
move Qr code lib to phonelibs ( #19871 )
...
old-commit-hash: e54db636f7453665d5e8317d9c9fb4c54196dc3e
2021-01-21 11:17:21 -08:00
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: 24356b4a1e972bb516ce837439df4ff7bc2a876f
2021-01-21 13:00:03 +01:00