summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-12-16Update for app framework removalScott Murray1-36/+10
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-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-24Remove windowmanager dependsMarius Vlad1-7/+7
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-0/+12
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-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-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_wenlong1-98/+5
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>
2017-12-27Fix build with libhomescreen and qlibwindowmanager with bitbakesandbox/ruke47/ces2018Tasuku Suzuki1-3/+4
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-15Remove setting Qt Quick Controsl 2 styleTasuku Suzuki1-3/+0
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 Suzuki1-38/+54
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-29I18N: add basic functionality and a few translationsTasuku Suzuki1-4/+9
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 Murray1-14/+44
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 Forlot1-0/+29
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/+46
Change-Id: I5f97d0f3d11899fc78943f806f55b685c1cce9a5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>