Dean Lee
85f134da6a
CommaApi: class to namespace ( #21329 )
4 years ago
Dean Lee
8675c970d4
UI: refactor ButtonControl ( #21315 )
4 years ago
Willem Melching
1ce3184c16
only clean up openGL buffers if context is still valid
4 years ago
Dean Lee
2c6d27f482
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
4 years ago
Willem Melching
e85fa7f1c9
UI: check if dongle id is valid before calling API ( #21275 )
4 years ago
Dean Lee
f55bb5d98f
DriveStats: switch between MILES and KM in real time,based on setting. ( #21234 )
...
* update distance unit
* remove main_layout_ from header
* cleanup
* add title in add_stats_layouts
4 years ago
Dean Lee
7009ba0344
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
8f5c7e7bb5
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>
4 years ago
Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Dean Lee
ee46672d3c
Passing arguments by reference ( #21205 )
4 years ago
Dean Lee
b06b3ecb60
Use full include path ( #21194 )
4 years ago
Dean Lee
e772bbf723
ssh_keys.cc: remove shadowed params ( #21184 )
4 years ago
Adeeb Shihadeh
9876723169
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>
4 years ago
Maxime Desroches
3c058e0b64
UI: add missing override identifiers ( #21081 )
4 years ago
Adeeb Shihadeh
ace5ee9d46
prime ad: comma connect -> explorer
4 years ago
Adeeb Shihadeh
b93ccc465d
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
4 years ago
Dean Lee
b0e2374635
OffroadAlert: add stretch at the bottom ( #20856 )
4 years ago
Dean Lee
7222d0f20d
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>
4 years ago
Willem Melching
ab319d4f54
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
4 years ago
Willem Melching
3a95d3ccaa
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 757d2923d2
.
4 years ago
Dean Lee
757d2923d2
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
4 years ago
Dean Lee
00aa20f55a
SshControl: use HttpRequest to get ssh keys ( #20784 )
...
* use HttpRequest
* remove eventloop
* rebase master
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
ed3b6bd90c
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
4 years ago
Comma Device
23faedd25e
configure SSL globally on NEOS
4 years ago
Dean Lee
4781598e12
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
4 years ago
Dean Lee
ad57cd3759
HttpRequest: passing references in signals ( #20782 )
4 years ago
iejMac
19d962cdf3
qt replay ( #20602 )
...
* initial commit, works
* remove nui
* working again
* visionipc
* cleanup
* cleanup
* moving VisionIpcServer to Unlogger class
* works
* tab cleanup
* headless mode
* headless mode works
* working headless mode
* gitignore update
* small unlogger refactor
* refactor param in UIState
* works, very slow, hacks
* cleanup
* works
* cleanup
* cleanup
* unused
* works for whole route
* nicer
* a little nicer
* different threshold
* maintains 1 segment window
* works with public api
* comments
* networkTimer works
* cleanup
* unified HttpRequest
* tabs
* tabs
* comments'
* gitignore
* gitignore
* only on PC
* same line else
* no changes in home.cc
* scons
* update scons
* works
* revert mainc.c
* revert home
* else
* just api + problem with api send
* works
* include cleanup
* general json fail
* whitespace
* remove active
* adding request repeater
* removing comments
* tabs
* update comment
* cereal
* fix
* trailing new lines
* grammar
* if whitespace
* indentation
* Update selfdrive/ui/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/ui/qt/request_repeater.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* works
* sort by dir
* no blockSignal
* replay is now QOBject
* cant take const char
* rename inner it
* get width and height from frame readeR
* resolve TODO
* seek in next pr
* spaces
* ui stuff
* fix CI
* remove comments
* no repalce
* trim segment fix
* remove seek from stream
* no cache key
* final changes'
* fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
iejMac
0fe155b7c3
UI: close dialogs on settings close ( #20541 )
...
* this works
* fix
* fix
* fix
* blacklist
* style
* tabs
* tabs
* temporary
* hideEvent
* fix
* changes
* dont need this
* works
* no signal
* Merge branch 'master' of github.com:commaai/openpilot into ui_close_after_timeout
* works
* cleanup
* little more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
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