Dean Lee
aee2b893a7
Qt: new class ElidedLabel ( #21277 )
...
* shorten ssid
* truncate with ellipsis
* rename to trancate
* truncate 22 characters
* elidedLabel
* trimmed
* remove function elidedString
* cache elidedTest
* rebase master
* minimizeSizeHint
* add sizeHint
* cleanup
* revert
* inherit from QLabel
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Dean Lee
13b2ce9391
UI: remove zoom from struct UIState ( #21520 )
4 years ago
Dean Lee
5be75f5354
input.cc: close dialog when parent is hidden ( #21318 )
...
* close dialog when parent is hidden
* Q_OBJECT
* apply reviews
* rebase master
* rebase master
* fix wroing minLength
* merge master
4 years ago
Adeeb Shihadeh
5a20cc6cae
fix offroad alert precedence ( #21517 )
4 years ago
sshane
146973da7f
Networking: populate tethering password ( #21455 )
...
* populate password from hotspot connection
move to setup()
populate tethering password
fix password editing
setup tethering when editing password or enabling
fix
* fixes
* last fix, don't activate when adding
* check before
* if not
4 years ago
sshane
6402edb898
keyboard: backspace key repeat ( #21395 )
4 years ago
Dean Lee
c9d4dfe99f
DevicePanel: set specific stylesheet for reboot & poweroff buttons ( #21364 )
...
* set specific stylesheet for reboot&poweroff buttons
* remove hack
* fix css in network panel
4 years ago
Joost Wooning
dd959412e3
Change QR code to url for pairing with both explorer and connect ( #21314 )
4 years ago
Dean Lee
9ebfc2ba8d
HttpRequest: move http cache to RequestRepeater ( #21228 )
...
* move cache from HttpRequest to RequestRepeater
* apply review
4 years ago
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