Willem Melching
d3d90ef5d2
remove Open Sans fonts from assets ( #24946 )
...
old-commit-hash: 1908b89e29a968a3f1b8dd8cdd8213570e02c186
2022-06-22 20:41:24 +02:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86a621dd35f4ff25da7a26ee506bac76
2022-04-18 17:55:23 -07:00
Dean Lee
77b0d4363c
MainWindow::eventFilter: add static keyword for evts ( #23521 )
...
old-commit-hash: 785180d234ddc5d095175b5b270140cd558d1095
2022-01-14 15:28:38 +01:00
Dean Lee
d8f55a81ab
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6dbae9593eae4d2bc55aa34fdde428fbd2933ccf
2022-01-13 19:20:22 -08:00
Dean Lee
1fc1819c2b
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
old-commit-hash: 2483fc5d5dd7ad586a92b62b2ef5bc8f9094f262
2021-12-14 22:28:12 -08:00
Dean Lee
c031c1a8d4
UI: add timeout to close settings window while onroad ( #22980 )
...
* refactor updateWakefulness
* don't hide sidebar
* rename reset->reset_timeout
* move related variables and functions into class Device
* reset timeout in ctor
* set timeout to 10s if ignition is on
* cleanup
* remove unused QTimer *timer
* check getTimestamp
* keep socket reading in update_state
* keep filtering
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: c5dbee4e58aad2efca6d91baa4c7c4171ee8953f
2021-12-14 11:22:16 +01:00
Dean Lee
0b73c09488
ui/MainWindow: remove emit keyword on slot ( #22790 )
...
old-commit-hash: dd1531af967a9ad826f074c3de1be45e418fd84e
2021-11-04 14:43:28 +01:00
Dean Lee
da6ebc2f9d
remove unused signal displayPowerChanged ( #22719 )
...
old-commit-hash: 3b936aaca9af3da1cdce0635cf9d539e8ad574b8
2021-10-29 12:09:03 +02:00
Adeeb Shihadeh
72d7b40eec
UI: add opensans semibold
...
old-commit-hash: e33cd47b5c565a8d7a96a83a934dd23ab055c4bd
2021-10-28 13:07:39 -07:00
Adeeb Shihadeh
95f5cabc04
add inter fonts to assets ( #22704 )
...
old-commit-hash: 950acb476c0bed4b03b3359b3030d492d982c664
2021-10-26 20:40:09 -07:00
Dean Lee
66c6adc436
UI: lazy onboarding widgets init ( #21780 )
...
* don't show onboarding on startup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d640e25c3b95ebaef137c550907e29eb50bc837
2021-09-11 18:18:58 -07:00
sshane
46dc29fd4d
ui: wake for touch events ( #21794 )
...
old-commit-hash: c7fc312237b4e8b4925915801253a589068bdb1f
2021-07-29 22:24:24 -07:00
Dean Lee
5a240419e6
HomeWindow: fix background white flash while switching to onroad ( #21695 )
...
old-commit-hash: f67467f321622beb40e3665acb4cbc3c985db652
2021-07-23 16:05:58 -07:00
Willem Melching
dc19c670b6
nav: home/work shortcuts ( #21276 )
...
* add home/work widgets
* remove todo
* set contents from response
* turn into buttons
* add navigate button
* fix includes
* close settings on nav press
* close sidebar when closing settings
* use live api endpoint
* larger fonts
* more text fits
* only place name
* remove static response
* properly clear
old-commit-hash: c21ea8b50653bfb3b4c93e7042d7ffa62abfcf2a
2021-06-22 13:25:22 +02:00
Dean Lee
abffb4db29
UI: refactor onboarding ( #21223 )
...
* refactor onboarding
* skip training guide if is dashcam
* apply review
* cleanup include
* move public ctro up
* slots is private
* cleanup headers
* set style sheet in onboardingwindow
* rebase master
* match ui
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8781f586c573be5e93cbc43ef88d201bcbdc43c9
2021-06-18 16:01:22 -07:00
Dean Lee
d8ac1df789
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
old-commit-hash: 2c6d27f4828bc57e69f86aed0d1f48364233dffb
2021-06-16 00:08:02 -07:00
Dean Lee
63ff493fe8
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 >
old-commit-hash: 8f5c7e7bb5e4796708a8be672529bf65e89edaca
2021-06-12 21:28:17 -07:00
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0fc1a919dfb38800099f8e3ad52346f1
2021-06-11 10:17:52 +02:00
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60c651dacf079513635f7d9d99228783
2021-06-08 12:09:30 -07:00
Adeeb Shihadeh
56e9dbcf99
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9876723169ba0fd0c61169699caaa63246473e85
2021-06-01 20:59:41 -07:00
Maxime Desroches
7042222026
Fix Terms and Training guide skip when the screen turns off ( #20942 )
...
old-commit-hash: 553e7d1cce314e7eb0587186b1764c3ff43bed62
2021-05-18 11:26:04 +02:00
Dean Lee
8d2dc5b18c
MainWindow: use static QSet for filter_events ( #20924 )
...
old-commit-hash: 2c73cac0a230e57138e5e9cd75e1da76a211e97f
2021-05-16 21:21:46 -07:00
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
7b8f164793
match nvg sidebar ( #20847 )
...
old-commit-hash: e1a58e62688190ab7a6db0b518a5ba77cbd0902c
2021-05-07 15:12:29 -07:00
Adeeb Shihadeh
5d82a760db
Qt onroad alerts ( #20776 )
...
old-commit-hash: f9072199571742f9e349990bb58540401a863f67
2021-05-04 23:23:00 -07:00
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e1228b3f8707afa7237864f4cb4df9d71
2021-05-01 14:12:35 -07:00
Adeeb Shihadeh
b263a8d934
UI: refactor GLWindow ( #20764 )
...
old-commit-hash: 140e6248e26cfa370ccdb13fda8edc4fae0321ca
2021-04-29 11:18:59 -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
Adeeb Shihadeh
5ef648fe02
filter out touches while in android activity ( #20515 )
...
* filter touches while in android activity
* only check after launching activity
* move to hw abstraction layer
* little cleanup
* remove print
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: a2084c2a601ba138c41494420f8275295357981f
2021-03-28 03:53:03 -07:00
iejMac
5f96a3407b
review training guide button ( #20466 )
...
* works
* move the param deletion
* clean that up
* Revert "move the param deletion"
This reverts commit 31d8a65f004e7bcf14d29465a9c9d6db03e9dee7.
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 806226820cb76c83a33dc0f83cc4d67e8c657226
2021-03-25 17:36:44 -07:00
Adeeb Shihadeh
ae0756edc6
tici touch ups ( #20434 )
...
* tici touch ups
* trim
* less squish
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 61a0129fdcecc83a0248946ccc1073356075427f
2021-03-22 13:40:08 -07: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
1e74eb0547
Qt-UI Close settings when screen turns off ( #20117 )
...
old-commit-hash: b8052001942cad72b3095381ce6e8e719312e35a
2021-02-23 14:40:56 +01:00
grekiki
2b6237dd4c
Qt ui: close settings on onroad transition ( #20114 )
...
* need to test
* works
* reduce diff
* refactor
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: dab2e1298b62991e57123972a34167a3ce62de8a
2021-02-22 10:47:33 +01:00
Adeeb Shihadeh
4d2ccb3a79
qt settings style ( #19588 )
...
* dark mode
* inter
* frame
* this looks pretty good
* revert that
* fix bg hack
* don't override style sheet
old-commit-hash: 550b5e422f5ee7f7ca23d569cbd58f78bfdda9c5
2020-12-24 14:10:43 -08:00
Adeeb Shihadeh
672d0d4727
move offroad alerts to home screen ( #2681 )
...
* move offroad alerts to home screen
* offroad aletrs work, but sidebar doesn't look nice
* fix sidebar
* looks better
* cleanup
* little bigger
Co-authored-by: grekiki <gregor1234567890@gmail.com >
old-commit-hash: 8320a153fb530f973669fa1aafa693a17d4ef035
2020-12-04 15:21:55 -08:00
Adeeb Shihadeh
86dd0f5df1
Qt offroad home screen ( #2672 )
...
* some cleanup first
* home sweet home
* basic home screen
* date
* fix touch
* fix mac
* hide when onroad
* box layout didn't do what i thought
old-commit-hash: fed642c4ed2fd668360bef480da8f0b7a8559916
2020-12-02 20:47:47 -08:00
grekiki
e4b5b9a297
Offroad alerts ( #2664 )
...
We now have a working offroad alerts
old-commit-hash: 744a3317e3ab608fadc9b172dd16897b8bbdc55e
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh
fa147c5d6e
add wifi to setup ( #2604 )
...
* add wifi to setup
* wifi looks better
* move widgets
* this looks ok
* small fixups
* fix relase tests
old-commit-hash: 6a2678aae7fa353617ec111bd46181cdc422e15b
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh
12e6f7a607
Qt cleanup ( #2622 )
...
* scale
* contain weston hack in one file
* rest
* no show
* missed one
old-commit-hash: efc30f4a83953363d665290f99b91c7b52652cc2
2020-11-24 22:07:03 -08:00
Willem Melching
97fe386b3a
Qt ui: fix onboarding
...
old-commit-hash: 99ea3ef17856ea426f158e2aea1f363e2f386409
2020-11-24 13:53:15 +01:00
Willem Melching
45e99acbb6
qt ui: dont resize window on start
...
old-commit-hash: 899902de8f592420f4caff0f8bcaeca4f8d536c0
2020-11-24 13:36:56 +01:00
grekiki
7d0eb0f3e7
new wifi strength icon ( #2601 )
...
* make wifi usable in apartments with lots of access points
* remove unused thing I added a few days ago...
* use a different image
* simpl. and correct scaling
old-commit-hash: b147d91afc185fc2a3d86be06cc3697524e04c0a
2020-11-22 22:46:04 +01:00
grekiki
4603a9b9d3
Fix Wifi UI not working on PC ( #2597 )
...
old-commit-hash: 3a7fcc62fb5bdadab0122625114d5b5e99a3e47e
2020-11-22 00:10:00 +01:00
Adeeb Shihadeh
a2ee407c2b
fix small terms ( #2593 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9725128331cbb35b784c0e2828f1a228201329b6
2020-11-20 22:03:01 -08:00
grekiki
1795bb236d
Qt keyboard ( #2381 )
...
* add keyboard
* put widget in settings
* port a keyboard
* forgot git add
* reduce diff
* submodules
* fix macOS and reduce diff
* cleanup
* little more cleanup
* test input
* not working yet
* compiles now
* add stuff
* add keyboard on panel 3
* works now
* small layout improvements
* cleanup
* styling
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 7478b21e2e0ba8ea1764ae6194c82505667a00b9
2020-11-20 16:29:29 +01:00
Willem Melching
d7ab2ec365
Qt ui: turn off screen after inactivity ( #2583 )
...
* qt ui: turn off screen after inactivity
* handle touch events globally
* whitespace
old-commit-hash: 7f3bf2093f8a1766743a37782bb5c0105e70e2f9
2020-11-20 13:21:18 +01:00
Adeeb Shihadeh
08e1e45753
improve onboarding ( #2537 )
...
old-commit-hash: eae04fc67e3a0185b0de9a54ddaff70469775645
2020-11-12 21:37:02 -08:00