Commit Graph

42 Commits (5246f0231e6bfa572c0dd89c60e538910817faa2)

Author SHA1 Message Date
Mayfield 5246f0231e
enable wshadow (#22756)
* enable wshadow (#22714)

* fix replay

* more build fixes

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-02 17:08:53 +01:00
Adeeb Shihadeh 0d0aad05ce
setup: add low voltage warning (#22342)
* setup: add low voltage warning

* read voltage

* fix path
2021-09-24 14:30:49 -07:00
cydia2020 70e1c9c40c
UI: Fix mph and wi-fi spelling (#22334)
* display WiFi as Wi-Fi

* fix typo in metric setting description
2021-09-23 22:23:34 -07:00
Adeeb Shihadeh c7d75ffb5d
setup: continue without wifi (#21766) 2021-07-28 14:55:42 -07:00
Adeeb Shihadeh b0da8b2281 back to choose software 2021-07-26 23:40:28 -07:00
Dean Lee c24227c3ab
HttpRequest: don't send request in ctor (#21665) 2021-07-25 15:36:04 -07:00
Dean Lee 41538753f9
Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
2021-07-19 09:26:08 -07:00
Adeeb Shihadeh 62077abd3c
more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh 4f9ac7a1aa
show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh 62e63f0573
more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh 6039f1e7ac
setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
2021-07-15 21:30:23 -07:00
sshane 0076dd3588
Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh ddd1342fc5
setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
2021-07-15 16:47:18 -07:00
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
2021-07-07 21:06:50 -07:00
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>
2021-06-12 21:28:17 -07:00
Dean Lee c53cb5d570
Use C++ header files instead of C header files. (#21192)
* use cstring instead of string.h

* use cstdio instead of stdio.h

* remove inttypes.h

* use cstdlib instead of stdlib.h

* use cstdint instead of stdint.h

* #include <cstddef>

* cstdlib

* use cmath

* remove stddef.h

* use cassert

* use csignal

* use ctime

* use cerror

* rebase master
2021-06-08 13:46:22 -07:00
Dean Lee 4a74d777f0
Properly set parent for widgets (#21196) 2021-06-08 13:32:10 -07:00
Dean Lee b06b3ecb60
Use full include path (#21194) 2021-06-08 12:09:30 -07:00
Adeeb Shihadeh efca6eaa70 fix inlcude in setup.cc after include cleanup 2021-05-18 20:28:16 -07:00
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>
2021-05-08 22:15:17 -07:00
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>
2021-05-06 14:39:05 +02:00
Willem Melching 3a95d3ccaa Revert "Replace ifdefs with hardware abstraction layer (#20801)"
This reverts commit 757d2923d2.
2021-05-06 12:29:30 +02:00
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
2021-05-06 11:41:46 +02:00
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
2021-05-03 11:53:11 +02:00
Dean Lee 4bb3619a0e
Fix build errors in qt/setup (#20795)
* fix build error

* remove line

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-02 16:50:14 -07:00
Dean Lee 4781598e12
Qt: use new signal slot syntax (#20783)
* new signal slot syntax

continue

* continue
2021-05-01 14:12:35 -07:00
Comma Device 204d878c6f update qt setup 2021-04-01 22:12:33 -07:00
Adeeb Shihadeh 0fc98355d0
UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
2021-03-04 17:12:56 -08:00
Adeeb Shihadeh d8418f2abe
qt confirmation dialogs (#20202)
* confirmation dialog widget

* looks pretty good

* fix qcom2

Co-authored-by: Comma Device <device@comma.ai>
2021-02-28 20:44:00 -08:00
Adeeb Shihadeh f9d8652cbd
Qt UI refactoring + improvements (#20033) 2021-02-07 17:33:48 -08:00
Comma Device b8aa250efb qt reset and setup improvements 2021-01-08 01:36:29 +00:00
grekiki 3e466aa528
UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized

* some spaces and a comment

* more spaces

* const

Co-authored-by: Comma Device <device@comma.ai>
2020-12-08 12:00:51 +01:00
Adeeb Shihadeh b3ba65d6a4 fix setup installer download 2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 8de4adac61
qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
2020-11-30 23:21:40 -08:00
Adeeb Shihadeh 6a2678aae7
add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh d00f1692b7 move that to two init 2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 7560e67b3d add user agent to installer 2020-11-30 16:57:41 -08:00
Adeeb Shihadeh 394dc66a19 stacked widget 2020-11-24 23:49:20 -08:00
Adeeb Shihadeh efc30f4a83
Qt cleanup (#2622)
* scale

* contain weston hack in one file

* rest

* no show

* missed one
2020-11-24 22:07:03 -08:00
Adeeb Shihadeh 770ec8ad20
Qt setup improvements (#2591) 2020-11-22 15:37:13 -08:00
Adeeb Shihadeh ff6dac7dd3 fix setup for new weston build 2020-11-14 15:50:11 -08:00
Adeeb Shihadeh 7b72bbe9f3
Qt setup + installer (#2511)
* getting started

* setup screens

* cleanupg

* url input

* installer

* setup

* installer
2020-11-12 11:31:02 -08:00