Commit Graph

54 Commits

Author SHA1 Message Date
Adeeb Shihadeh d37a02911e precheckout installer (#21752)
* precheckout installer

* repaint

* cleanup
old-commit-hash: adb079efcd3cee5639b26560dce0e72acbf28ab7
2021-07-27 17:29:36 -07:00
Adeeb Shihadeh 56773ae0a7 back to choose software
old-commit-hash: b0da8b2281941a99f2157bf2a70c079cb9d32e16
2021-07-26 23:40:28 -07:00
Adeeb Shihadeh 5938e836cf installer: hang around after done (#21728)
old-commit-hash: a2bd5e002e616e2cef30459120f3a8ad57a13060
2021-07-26 17:13:48 -07:00
Dean Lee 9d12eb4d3a HttpRequest: don't send request in ctor (#21665)
old-commit-hash: c24227c3abb9bfd371c89845c75b7104d0862fb2
2021-07-25 15:36:04 -07:00
Dean Lee 66efddac39 Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
old-commit-hash: 41538753f9578969d270edc1f6ba3e23bcd60b3a
2021-07-19 09:26:08 -07:00
Adeeb Shihadeh 17faf6e48f UI: button released -> clicked (#21606)
old-commit-hash: 92157480800d604b9a53873a66ecb7fcdd622535
2021-07-17 13:58:09 -07:00
Adeeb Shihadeh e2c0ec924d more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

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

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
old-commit-hash: 4f9ac7a1aa6e5d54fbd26991ca2d88edd02245b0
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh 5bdb0f7b18 more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
old-commit-hash: 62e63f0573a1d6d719fe3c4715d00b3893306c73
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh 75886ce093 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>
old-commit-hash: 6039f1e7acb286e9b6705f96084ca90d733df34b
2021-07-15 21:30:23 -07:00
sshane a089058fd4 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>
old-commit-hash: 0076dd3588921e9dd88c6a871988dded626c38a1
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh 65002c7b53 setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
old-commit-hash: ddd1342fc548a7a6cc1bdc007eb9d91d9336deb0
2021-07-15 16:47:18 -07:00
Adeeb Shihadeh 6c3a5179bf installer improvements (#21588)
* installer ui

* progress

* works

* cleanup

* header

* exit

* small

* revert that
old-commit-hash: 3f8c63a4d9102f542cda0e942e2e99f29562c0dc
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh f03b70a33b reset improvements (#21603)
* reset design

* clean up
old-commit-hash: deb67ff870c48d45341657be10625f75a184117a
2021-07-14 14:37:33 -07:00
Dean Lee 0c59f626c7 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
old-commit-hash: 5be75f53541c83f0681e55959023bc03758ac62a
2021-07-07 21:06:50 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 41459887560bd25eb600804e2b8e125f977d965b
2021-07-06 10:14:07 -07:00
Adeeb Shihadeh 93461be530 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec00e71b643e6bb6abcb1f977cb51df31bd8c058
2021-07-05 23:48:10 -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 f70a79b838 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
old-commit-hash: c53cb5d570adb82bc454fcabab458d7e7f09738c
2021-06-08 13:46:22 -07:00
Dean Lee a88660795a Properly set parent for widgets (#21196)
old-commit-hash: 4a74d777f09b606abdde141c456cd73281d20947
2021-06-08 13:32:10 -07:00
Dean Lee 3a698faadc Use full include path (#21194)
old-commit-hash: b06b3ecb60c651dacf079513635f7d9d99228783
2021-06-08 12:09:30 -07:00
Adeeb Shihadeh 4d137f459f fix inlcude in setup.cc after include cleanup
old-commit-hash: efca6eaa702dedb08a6bfa7c0f562e434ac6e8c8
2021-05-18 20:28:16 -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
Willem Melching 78bf4f5867 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>
old-commit-hash: ab319d4f54a53e1a0aa1c2c0d94d56a9acef8362
2021-05-06 14:39:05 +02:00
Willem Melching 39c18d4c5a Revert "Replace ifdefs with hardware abstraction layer (#20801)"
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.

old-commit-hash: 3a95d3ccaae7168073410cd7d392a9564d9d45ba
2021-05-06 12:29:30 +02:00
Dean Lee e0282ced49 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
old-commit-hash: 757d2923d2bfcda620b252e21a348ac3f87f3a63
2021-05-06 11:41:46 +02: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 7d042b746f Fix build errors in qt/setup (#20795)
* fix build error

* remove line

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4bb3619a0ec8d4b76698d7b86e0f224495a6f1f1
2021-05-02 16:50:14 -07: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
Comma Device 7b818198f1 build all installers simulataneously
old-commit-hash: 242a8ba17ab013abe5dc214c0bf6da674e539165
2021-04-11 15:14:06 -07:00
Comma Device c671dca363 update qt setup
old-commit-hash: 204d878c6f538891f36073cf364f14c6561126d9
2021-04-01 22:12:33 -07:00
Adeeb Shihadeh 1a0ac978ec record front lock (#20400)
* record front lock

* only if set

* add to internal installer

* move that

* change that bck

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b60cd8d0a0a03b3c1f9f06cba1650a9afe8eb772
2021-03-18 20:15:51 -07:00
Adeeb Shihadeh f47a31f5c5 UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0fc98355d07aebb68ddc0da1d51013cf00e4f610
2021-03-04 17:12:56 -08: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
grekiki 30887bcbd8 Qt standalone wifi chooser (#20141)
* qt wifiManager remove qDebugs

* wifi widget

* 50% done

* Update SConscript

* backgrounds work

* backgrounds work

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 069532eb18eead899ecbf2eeea71a640364bc0d4
2021-02-26 14:21:06 +01:00
Adeeb Shihadeh 3ede01fb14 agnos 0.6 (#20077)
* updates for agnos 0.6

* timezone

* bump version
old-commit-hash: d169914674f428f0355c0ec456ed9336fce500a1
2021-02-18 18:14:34 -08:00
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -08:00
Adeeb Shihadeh f1530e6739 swap factory reset order
old-commit-hash: a94bf25d6f12621502c721812a431ee84ab533cc
2021-02-05 00:06:57 -08:00
Comma Device cac209e172 qt reset and setup improvements
old-commit-hash: b8aa250efb1392c79fbdb218c49d4346ab493dce
2021-01-08 01:36:29 +00:00
Comma Device be077d0885 factory reset -> system reset
old-commit-hash: 1ea307a2996f16104501bf1d497e202326000dc1
2020-12-15 23:35:55 +00:00
Adeeb Shihadeh ab1b8754dc Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
old-commit-hash: c4a05ba369a0b8ce5df69727999dd33baf8a0fd0
2020-12-14 19:49:01 -08:00
grekiki 2e07e45bed 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>
old-commit-hash: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
2020-12-08 12:00:51 +01:00
Adeeb Shihadeh 07d7d650d9 setup rest of installers
old-commit-hash: c01e2df2c07cd6de484303113c06825ced2b97f3
2020-12-01 11:36:18 -08:00
Adeeb Shihadeh bc4fd60f20 fix setup installer download
old-commit-hash: b3ba65d6a43c1e6eb9233764a77a4ad4ce88e546
2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 74814dfb75 qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
old-commit-hash: 8de4adac61a9d3fd5eb9044da0d44e36f32806c5
2020-11-30 23:21:40 -08: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 089843bf3c move that to two init
old-commit-hash: d00f1692b7c0616dcfadd237afe73e441b5935a0
2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 8f26c0bff9 add user agent to installer
old-commit-hash: 7560e67b3da525f2759f92d0652f2bfcbebc3b6b
2020-11-30 16:57:41 -08:00
Adeeb Shihadeh e71eb9caae stacked widget
old-commit-hash: 394dc66a19bd1329ca3390cbf7caa7e2aa4cca60
2020-11-24 23:49:20 -08:00