summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-03-02Add Bluetooth enableneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin/12.93.013.93.012.93.0Scott Murray1-1/+15
Use the network API interface object to enable Bluetooth via ConnMan, thus deactivating the default rfkill state and persisting the new one across reboots (since ConnMan will restore the enabled state on boot). This used to be done in the agl-service-bluetooth binding, doing it here should be considered a likely temporary placeholder for further investigation into Bluetooth device management in future AGL releases. At the moment device auto-connection is not likely to match pre-Marlin releases unless a device manages to connect on its own versus the active auto-connect that was in agl-service-bluetooth. The latter is now dependent on this application being run until further re-architecting takes place. Bug-AGL: SPEC-4253 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic18452a65345da82a27370a46fbc7121cbf85aea
2021-12-16Update for app framework removalScott Murray1-33/+4
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "settings" 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. - Tweak the Bluetooth QML to call into the new start call in the libqtappfw-bt Bluetooth object that replaces the previous WebSocket onConnected hook. - Remove the voice related code as it is not likely to be re-enabled anytime soon. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8d3272b62aa403a71adadd26c545c1ed33281e5f
2021-01-07Remove libhomescreen dependencymarlin_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.93.0koi/10.92.012.90.112.90.011.92.011.91.010.93.010.92.0Scott Murray1-2/+1
libhomescreen was still a dependency in the qmake files, and its header file was being pulled in in main.cpp even though there it is no longer used, remove usage. Also remove unneeded homescreen binding dependency from the config.xml manifest. Bug-AGL: SPEC-3757 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I488c28999acf872cd1b80374dd68c8d783c725f5
2020-06-24Conversion to agl-compositorMarius Vlad1-30/+5
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I5b2dca1677f88e01cc28f10911e036707c3c6924
2019-12-30Enhance voice configurationicefish_8.99.5icefish/8.99.58.99.5Scott Murray1-0/+2
Various tweaks to the new voice configuration support: - Moved "Version" choice on the main menu back down to the last choice, since it's less likely to be used. - Pull in qt-qrcode library's quickitem support and use it to display a QR code when Alexa authorization is required. - Reworked layout of voice configuration dialog to tighten up spacing and make more room for the QR code. - Tweaked voice configuration dialog logic to only show the login prompting when in not-authorized state. Ideally, a deauth button would be shown in the authorized state, but the voiceagent API currently does not enable that AFAICT. - Replace voiceagent ID with vendor in voiceagent configuration dialog, as the ID is more of an internal thing that's not useful to users. - Tweaked some text colors in voiceagent configuration dialog for better consistency with the other settings pages. - Switched voiceagent configuration dialog positioning to center it on-screen, as that seems more consistent with the look of the other settings pages. - Made the previous two changes to the wired settings configuration dialog as well for consistency. - Updated the voice settings icon with a microphone icon to match the default icon shown for the homescreen PTT button. - Updated the wired settings icon with a more typical network icon to avoid confusion. Bug-AGL: SPEC-2981 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I75560e3cab393e6efdfb1310f266e5b6bb0534d6
2019-12-04voice: add voice agents settings pageicefish_8.99.2icefish/8.99.28.99.2Raquel Medina1-0/+2
Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8eb6ae44db10039197da406446b5057ae9cb3b50
2019-07-05settings: wired: add wired connections UIRaquel Medina1-1/+1
The initial Wired UI only implements unauthenticated access. Bug-AGL: SPEC-2355 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I5bac4378879e365bce544ae55d752c187acc3a48
2019-03-22settings: bluetooth: qml: switch from qml ListModel to libqtappfw providedMatt Ranostay1-1/+1
Switch from using single threaded and incorrect QML processing of ListViews to using models provided from libqtappfw. Also this allows removal of most of the Javascript code that processed the repective lists. Bug-AGL: SPEC-2270 Change-Id: Ib00a2f34938de4c427ec5ee6956ee3e7e3c96959 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-01settings: remove dbus outdated code and referencesMatt Ranostay1-23/+0
Bluetooth and WiFi status icons are set in the Homescreen now by listening to respective binding events. DBus calls to Homescreen to set status icons is no longer needed or should be used by any new section. Change-Id: Ia5b0bd828fd2a46d9ed20ec49d128540e354eb95 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-19Use Event_ShowWindow instead of Event_TapShortcutwang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: I1389068b07ac046f9c1ad790fb82f91442bb38ee Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-15Modify graphic roleKazumasa Mitsunari1-9/+9
Window Manager set role name as lower_case, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: Ifbf2faab6f90d6464b74316eb01b1761e1842279 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: Ie7574632e28d7bcf0c024a2c9633afe50a7d5d7e Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit 767952ca6df6d42dc0fed3fde2d9137ec5b2a9ca. Bug-AGL: SPEC-1685 Change-Id: Ide858dab8c5b74cb6d5a25e2c16cd383b52c47c9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: Ibec9c169649fee674f12843c57c9ffed1e1d4aa2 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa1-0/+2
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: Ic0b8538259a4e9949caa099cff475935af609d09 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-07-27wifi: convert to libqtappfw network modelMatt Porter1-0/+2
Use libqtappfw's network model for the wifi network list, wifi status, and wifi power/connect/disconnect methods. Remove useless websocket message handling and other related code. Bug-AGL: SPEC-1542 Change-Id: I269fc03405be98f428b61e6a583eb5cbad767c6e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-04-19settings: bluetooth: switch from qml websockets to libqtappfwMatt Ranostay1-7/+2
Initial support changeover to libqtappfw from qml websocket calls for agl-service-bluetooth service Bug-AGL: SPEC-1385 Change-Id: Iff434c386d19f737b76d6a92969ae131a3de8ebf Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-03-05Improve version information for AGL UCB.Harunobu Kurokawa1-0/+11
Version information is hardcoded. This commit support AGL UCB version automatically from /etc/os-release Bug-AGL: SPEC-656 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-12-14Revert "settings: switch keyboard to qtvirtualkeyboardplugin"Matt Ranostay1-1/+0
This reverts commit 9990ec3dfdbd159b2077a33aa62dd52f53f174b2. Currently SPEC-1120 is blocking qtvirtualkeyboard from sending keystokes to applications. Bug-AGL: SPEC-1185 Change-Id: I02d02f6c1cf912d5b4f0face0add9c9af43c2af2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-13settings: switch keyboard to qtvirtualkeyboardpluginMatt Ranostay1-0/+1
Use qtvirtualkeyboardplugin for keyboard input since it supports internationalization and uses vector graphics which allows screen scaling. Bug-AGL: SPEC-1185 Change-Id: Ifddefe9b9884d1087683befc011b7172f5c2305f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Porting to new HMI FrameworkScott Murray1-17/+46
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: I4d6883bd60951af97be2d834667ab38622040735 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-02-06WiFi: reworked to support websockets and subscriptions for eventsMilan Srdinko1-4/+12
Change-Id: I2d1f2724d7c1efd64c12b7fa639436946209196e Signed-off-by: Milan Srdinko <msrdinko@alps.cz>
2016-12-22Wifi & Bluetooth: use binding address defined in main.cppTasuku Suzuki1-14/+15
Change-Id: I37927e3287cc63531e58aedec0fee67eb4331e47 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-20Add Version InfoTasuku Suzuki1-0/+9
Change-Id: I9c8d36e9c4d9068e7c7bcb8834d84dd2cf810874 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-20Add changing status icon in exampleTasuku Suzuki1-0/+23
to test this, you need to add a conf file under /etc/dbus-1/session.d/ <?xml version="1.0"?> <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <policy context="default"> <allow send_destination="org.agl.homescreen"/> </policy> </busconfig> Change-Id: I82c4b01db86ee54de87fad1db2ebf3f743b7c020 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-14merge the Settings in CES2017 and bindings from ALPSTasuku Suzuki1-0/+76
Change-Id: I00a7a6c5dae1cd579f91d543b0f5fba4616a633b Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>