summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2022-07-04Add VIS vehicle signal supportneedlefish_13.93.0needlefish/13.93.013.93.0Scott Murray3-13/+53
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)
2022-01-31Fix translation file installionmarlin_12.93.0marlin_12.92.0marlin/12.93.0marlin/12.92.012.93.012.92.0Scott Murray2-3/+8
The rework for app framework removal broke the installation of the translation files that was being done in the qmake file related to widget assembly. An install target to replace that has been added, and the location of the translation files shifted to under the /usr/share hierarchy to better match Linux FHS expectations. Bug-AGL: SPEC-4230 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9d7352c8ee79fdb11d3d432608d29cac3e5a4060
2021-12-20Add .desktop and icon file installationmarlin_12.91.0marlin/12.91.012.91.0Scott Murray1-1/+1
Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Also removed potentially confusing use of non-existent $$PREFIX variable. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I49f0b09a1a2f02c41844974eb384f3af7b4ed28c
2021-12-16Update for app framework removalScott Murray4-55/+23
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 Hong3-1/+93
Signed-off-by: Yevgeny Hong <yev@drimaes.com> Change-Id: Ia9b6506ebc1f388fa7f1a4343e9d14563e733a88
2020-09-23Fix signal-composer integrationScott Murray1-7/+26
Copy command-line parsing from hvac application to replace what was being done by the now removed QtAGLExtras code, this allows correctly instantiating the signal-composer object from qtappfw again. Bug-AGL: SPEC-3602 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0ec7f75af814d67fa0b4f431450e437fddf57e11
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 Vlad3-11/+14
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3e8f8897396616f269fb9a8b1c3ffafd027159a5
2020-06-10Update autobuild scriptsScott Murray1-0/+4
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I792baf5af2887bd3b332190d408ac49fb1cbd4a3
2020-06-08replace qtappfw with qtappfw-signal-composer packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ibca0ca0cfe5ea16a054dfc9cfda7126ea23bb47f
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 Murray3-54/+28
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-11-05Modify graphics roleguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Kazumasa Mitsunari1-1/+1
Window Manager set role name as lower_case, and HomeScreen has fixed application name problem, then change role as lower_case. Bug-AGL; SPEC-1754 Change-Id: Id3b143e49d3ee713ee72a31288fde300b9398e5a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
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-07-24Use old role Dashboard for temporary solutionflounder_5.99.2flounder/5.99.25.99.2zheng_wenlong1-1/+1
This is a temporary solution for SPEC-1602. From Tanikawa-san, HSS needs do more for this api. We will reconsider HSS architecture after. BUG-AGL: SPEC-1602 Change-Id: I963d50806ae97c029520f4636c2ef0d43212db06 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-18Modify Dashboard to use qtaglextraszheng_wenlong7-142/+6
Modify Dashboard to use qtaglextras. [Patch Set 2] Change role from "Dashboard" to "dashboard". Change-Id: I3bdd3796bee1366a35f48661acbe1d306e0bbe8d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.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-27Fix build with libhomescreen and qlibwindowmanager with bitbakesandbox/ruke47/ces2018Tasuku Suzuki3-5/+6
https://gerrit.automotivelinux.org/gerrit/#/c/12579/ broke the build with bitbake because tests are not perfect. libhomescreen: pkg name used to be homescreen but now it is libhomescreen qlibwindowmanager: the test needs Qt Change-Id: Ib43ac5d0cd1189a3490a60b54760fefc9b15954c Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-12-20Update to new color schemeTadao Tanikawa9-586/+345
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-12-15Remove setting Qt Quick Controsl 2 styleTasuku Suzuki2-5/+1
The style will be set through an environment variable https://gerrit.automotivelinux.org/gerrit/#/c/12055/ Change-Id: I64bad6432311fbc56984e85b0453820adb46d265 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-12-14Check if dependencies are available and make it run without themTasuku Suzuki5-41/+82
To develop apps efficiently, apps should work on any platform that Qt supports. Change-Id: I559786d207663e023cfbbf1a3f6cf1770191a960 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-11-30Fix path to Qt5Tool:lrelease for nativeTadao Tanikawa1-2/+2
Makefile for dashboard generated by qmake looked at lrelease in the host environment, therefore dashboard's build should fail if 'lrelease' is not installed in the host. Fix project include file for dashboard becoming able to generate correct path for 'lrelease' from related path: lrelease to absolute path: <sysroot>/lrelease Change-Id: Ia46a50a6b67d96a3a7234c840ad22bce0b22959d Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-29I18N: add basic functionality and a few translationsTasuku Suzuki9-21/+419
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-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray3-21/+47
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Icfea651ce77f800aab54fd43dfe7d1ca2906099b Signed-off-by: Scott Murray <scott.murray@konsulko.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 Forlot2-5/+89
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 Murray20-0/+1092
Change-Id: I5f97d0f3d11899fc78943f806f55b685c1cce9a5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>