summaryrefslogtreecommitdiffstats
path: root/app/Dashboard.qml
AgeCommit message (Collapse)AuthorFilesLines
2022-10-11Update engine speed signal nameScott Murray1-2/+2
The engine speed signal name changed in VSS 3.0, update to use the new name. Bug-AGL: SPEC-4587 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7c16355f8496790a276097cab282de7e5be90123
2022-07-04Add VIS vehicle signal supportneedlefish_13.93.0needlefish/13.93.013.93.0Scott Murray1-13/+46
Use the new VehicleSignals API from libqtappfw to replace the previous signal-composer usage. Additionally, the default units for the vehicle speed and odometer have been switched to kilometers with switching driven by the appropriate VSS schema value. The units in the translated text labels have been left alone for now, if the Qt demo lifetime is extended this may be revisited. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie04dc429b02adb7d763d2e5a3bfea0a5a1932b92 (cherry picked from commit f694b1f1222a58bdb3d1990fda9184fe51754af7)
2021-12-16Update for app framework removalScott Murray1-5/+2
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "dashboard" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add setenv of QT_QUICK_CONTROLS_STYLE to "AGL" to get the AGL styling used. This replaces a global environment variable definition tied to the old app framework, and makes it more obvious that the style is required for the app to properly work. - Comment out signal-composer code in Dashboard.qml for now, keeping it as an indicator of how the values are updated may be useful. Also remove some leftover screen scaling tweaks as minor cleanup. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0ea604cb72aee86990e9584b0cab9577b2cd41e3
2020-11-06Add Kr Translationmarlin_12.90.1marlin_12.90.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0Yevgeny Hong1-0/+4
Signed-off-by: Yevgeny Hong <yev@drimaes.com> Change-Id: Ia9b6506ebc1f388fa7f1a4343e9d14563e733a88
2020-06-24Dashboard.qml: Use window instead screen widthd and heightjellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.39.99.29.99.1Marius Vlad1-2/+2
Bug-AGL: SPEC-3379, SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic086efa53d8ceea4b750540ae85f74ec57f16b3d
2020-06-24Remove windowmanager dependsMarius Vlad1-3/+6
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3e8f8897396616f269fb9a8b1c3ffafd027159a5
2019-12-18Switch to using signal-composer speed eventsicefish_8.99.5icefish_8.99.4icefish/8.99.5icefish/8.99.48.99.58.99.4Scott Murray1-54/+13
Switch from using the vehicle and engine speeds messages from the low-can binding directly to using the abstracted events from the signal-composer binding instead. Bug-AGL: SPEC-3042 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I36f4d1c7f8565daf43014f47811cd5d3fdfd1dd6
2018-12-18Switch units to MPHhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3Scott Murray1-3/+3
For now, switch the speed and mileage units to miles per hour / miles for CES, and lower the displayed mileage to something more reflective of a new model car. Something more dynamic should be put in place down the road. Change-Id: Iee92d4bd2b1e6bbd39e856197c2ca9434cdb7b0a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-18Fix language selection buttonsScott Murray1-7/+21
Hand-applied snippet from commit: 96654f5 change translate text on branch sandbox/zheng_wenlong/ces2019_vertical to fix the rendering of the language buttons and prettify them by using the language name rather than underlying locale name as the buttone text. Change-Id: Ic852ecc7844e47c8e04da1907f3d843a15bb63ab Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit f30fcc56b2d48a568da758d7508f94910c6f40c6)
2018-08-02Improve output of multiple screen resolutionguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.36.90.05.99.65.99.55.99.45.99.3Tadao Tanikawa1-1/+15
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I5159184b21f13138f520aa0b9c91b58544ac96c5 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-06-07Use low-can api to display vehicle speed and engine speedflounder_5.99.1flounder/5.99.15.99.1zheng_wenlong1-20/+29
Modify dashboard to use low-can api, Just to display vehicle speed and engine speed this time. Will use tire press next time. Change-Id: I9e3dc3ea35ff0c0a6a59742be4e2e745b1859a8b Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-12-20Update to new color schemeTadao Tanikawa1-3/+3
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: Ibea18e2ae13523a9231a9e0e7001e76f585a428e Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-29I18N: add basic functionality and a few translationsTasuku Suzuki1-16/+37
Added very first i18n support in the simple application. Placed language buttons at the bottom to change current language. They should be removed once current language comes from somewhere. Laying out issues should be fixed later. Change-Id: Ib5d646784820cb2753edd5a588a8826ad7d20539 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-08-31support CAN information(VehicleSpeed and EngineSpeed)eel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.14.99.24.99.1Romain Forlot1-5/+60
This patch is support CAN inforamion(VehicleSpeed and EngineSpeed). CAN data is sent from can binder using websocket. Change-Id: I26cc6afa5f5f6cea2e6c77e40c324cca5fc00516 Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Import latest code from CES2017 repodab_3.99.1dab/3.99.13.99.1Scott Murray1-0/+201
Change-Id: I5f97d0f3d11899fc78943f806f55b685c1cce9a5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>