summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2019-12-30Enhance voice configurationhalibut_8.0.6halibut_8.0.5halibut/8.0.6halibut/8.0.58.0.68.0.5halibutScott Murray9-314/+539
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-30voice: update colors used in dialogRaquel Medina1-4/+4
Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ifb0e99110fddd874f12254b8ed2fdfe31fa02aee (cherry picked from commit 7f14e2db1011a4ac4e81ad8dcd3a3b2459411a99)
2019-12-20voice: add voice agents settings pageRaquel Medina7-2/+550
Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8eb6ae44db10039197da406446b5057ae9cb3b50 (cherry picked from commit 32872aa68ef8caa98ead052b91151fbed560e2bb)
2019-09-27wired: implement configuration data flowshalibut_8.0.4halibut_8.0.3halibut_8.0.2halibut/8.0.4halibut/8.0.3halibut/8.0.28.0.48.0.38.0.2Raquel Medina2-26/+83
- feed stack configuration data provided by libqtappfw to the ui form; - forward custom configuration data to libqtappfw; - rename staticXXXX properties to customXXXX - introduce activeXXXX properties to keep the stack current configuration values. - fix always invisible placeholder text (qt) bug by replacing TextField control with TextArea control. Bug-AGL: SPEC-2676 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ib137f8e561ed54179b116acb323485b5b3382ab9 (cherry picked from commit 7bba7c7f9fdffe977fef6714fd9c4ea9caae0a4e)
2019-09-20wired: add service configuration formRaquel Medina3-4/+350
Add a new UI form to facilitate wired networks configuration. This form will allow static addressing configuration and customizing dns addresses. Please note that this commit only provides the visual part and doesn't implement the functionality, which will follow in separate commits. Bug-AGL: SPEC-2676 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ib851f0ed14d2885185d1c6b9292c627ef954d15b (cherry picked from commit b591cf219f6c485eb054b628d62475a752f0ffa3)
2019-07-22settings: Fix error on connect for wired.halibut_8.0.1halibut_8.0.0halibut/8.0.1halibut/8.0.08.0.18.0.0Raquel Medina1-2/+1
Fix error on connect for wired networks due to invalid 'password' property (bug introduced by commit d0350d3b30f53bbee53fcea6563b7f20505c1b2c). Bug-AGL: SPEC-2632 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I4a07f1c5500e5c3b26cacf803ce3cdd2676517b9
2019-07-12settings: datetime: qml: fix warning on model inithalibut_7.99.3halibut/7.99.37.99.3Raquel Medina1-7/+7
- workaround invalid currentIndex - rework model initialization from array Bug-AGL: SPEC-2635 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I7e218ee73aa40f9e85271d480c98a7eb45ac29b5
2019-07-08settings: datetime: qml: fix anchor warningsRaquel Medina1-1/+1
Bug-AGL: SPEC-2611 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I3aac9e09d44cc58fb7a163113ad7f0fb298c33f6
2019-07-05settings: wired: add wired connections UIRaquel Medina6-2/+167
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-05-16app: wifi: use new WifiAdapter interfacehalibut_7.99.2halibut_7.99.1halibut/7.99.2halibut/7.99.17.99.27.99.1Raquel Medina1-2/+2
Change-Id: I4e3c8d8ebd248fa59457627e0711e21c46cb4549 Bug-AGL: SPEC-2293 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-04-20settings: wifi: qml: disable toggling button on password dialogMatt Ranostay1-0/+4
Bug-AGL: SPEC-2299 Change-Id: I3bc1eb7bac127a06026795c953339db9758e8529 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-02settings: bluetooth: qml: cleanup onPoweredChanged slotMatt Ranostay1-7/+9
Move enabling of discovery + discoverablity to the respective slot to avoid race conditions from the adapter powering on Bug-AGL: SPEC-2295 Change-Id: I16c04d7bcd880ef5dcc5352d0da52ce2fe8b2447 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-25Merge "settings: bluetooth: qml: switch from qml ListModel to libqtappfw ↵Jan-Simon Moeller2-165/+19
provided"
2019-03-22settings: bluetooth: qml: switch from qml ListModel to libqtappfw providedMatt Ranostay2-165/+19
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-03-19settings: wifi: qml: allow canceling of agent requestsMatt Ranostay1-4/+7
To cancel a passphase agent request it is needed to send a blank password request. Bug-AGL: SPEC-2271 Change-Id: I04da826e68b475a7d87699cfed54baaf75478786 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-28settings: wifi: qml: redisplay dialog on incorrect passphaseMatt Ranostay1-3/+10
Bug-AGL: SPEC-2183 Change-Id: Ia789a58b01d6df9e32d8f167e1f33ea19e1c37a2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-27settings: wifi: qml: add 'Forget Network' buttonMatt Ranostay1-1/+14
Allow the user to forget a known network in the Settings UI Bug-AGL: SPEC-2184 Change-Id: I3edec2ae9e23a7cc9a0d87fcecfe9842b6856240 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-19settings: wifi: qml: fix security icon for wifi APsMatt Ranostay1-1/+1
APs without any security functionality were still showing a padlock. Change-Id: I32e3e844ffa4e25aaa51a717fb6ccb8cdb8858c2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-16settings: bluetooth: switch from Component.onCompleted power eventhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Matt Ranostay1-1/+1
Race condition between QML components finishing loadings before libqtappfw access can happen. So use the the onPowerChanged event as before, but to avoid infinite loop of power changes don't changed checked field if already set. Bug-AGL: SPEC-2004 Change-Id: Ie54ca405cab70e1bb909005dce602a56ccb0e8ba Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-15settings: bluetooth: fix power button issueMatt Ranostay1-3/+1
Responding to both checkbox clicks and power events will cause an infinite loop in some cases of toggling power state. Bug-AGL: SPEC-2004 Change-Id: I4fb841661472f875a978a5bd314157cfff07328b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-04Fix runtime issue introduced in 2f812cb (gerrit:#19341)Stephane Desneux1-3/+0
example/* sources have been removed but they are still imported from app/Settings.qml. This creates the following error in the QML engine at runtime: --- Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: QQmlApplicationEngine failed to load component Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: qrc:/Settings.qml:24 "example": no such directory Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: QObject::connect: Cannot connect (null)::frameSwapped() to QLibWindowmanager::slotActivateWindow() --- This patch fixes the runtime issue. Change-Id: I793d5a8bb73b4257feba8b66b1ba2eb7db6db398 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-01settings: remove dbus outdated code and referencesMatt Ranostay6-221/+1
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-21settings: qml: add spacing between elementsMatt Ranostay1-1/+1
Switch and ImageButton were too close together in the UI AGL-Bug: SPEC-388 Change-Id: I3d883d87d40dd52ec20871a43aaa9385219c3b12 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-20Merge "Use Event_ShowWindow instead of Event_TapShortcut"guppy_6.99.3guppy/6.99.36.99.3Jan-Simon Moeller1-3/+3
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-12-18Fix a couple of UI issuesScott Murray1-4/+5
Tweak the scan button anchoring so it renders reliably, the mix of anchoring and forward referenced values seemed to be causing it to misrender. As well, make it and the detected list visibility dependent on Bluetooth being enabled for consistency. Change-Id: Ib13b206c74234e5618f14277097259b848d62a58 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit b3dcdb893234873325cdb121c8eda634f97a4c31)
2018-11-28settings: bluetooth: hide paired list when adapter isn't poweredguppy_6.99.2guppy/6.99.26.99.2Matt Ranostay1-0/+1
Bug-AGL: SPEC-1630 Change-Id: Ib730137d46125f5354686b0bf98f419226254e41 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-22settings: add missing deviceConnect to paired listguppy_6.99.1guppy/6.99.16.99.1Matt Ranostay1-0/+1
Need deviceConnect to be set after pairing of device otherwise the "Connect" button will never be displayed. Bug-AGL: SPEC-1630 Change-Id: Ibd6c05e66b28490b650bfb3da7aaebe7aa29ad24 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.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-11-11settings: update to bluetooth binding verion 2.0Matt Ranostay1-137/+71
Bug-AGL: SPEC-1630 Change-Id: Ifabb383e2802d6653d6c0e3c5b50020bbe9d9178 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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 Tanikawa2-0/+12
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 Porter3-263/+25
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-05-21settings: bluetooth: qml: stop device lists from scrollingflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.15.99.25.99.1Matt Ranostay1-5/+0
Both device lists were emitting an layoutChanged() signal on any device addition/update/removal which caused the model to refresh causing it to 'scroll' to the top. This event should only be emitted when the model is being sorted, and hence incorrect in the current call. Bug-AGL: SPEC-1385 Change-Id: I2828ad41e8bf4c9e0c83b62322b9e281e37408eb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-21settings: bluetooth: qml: stop duplicate entries in listsMatt Ranostay1-0/+4
Due to the current subscription model each subscriber causes an discovery_result event to be emitted. So each client must be sure they aren't adding entries more than once. Bug-AGL: SPEC-1385 Change-Id: I125eb33327944407c018b01776ba9bb3e0d4c08f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19settings: bluetooth: switch from qml websockets to libqtappfwMatt Ranostay4-317/+126
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-04-15settings: wifi: remove unused http address from Wifi QMLMatt Ranostay1-4/+0
Change-Id: I0bd05233465a85d30aa132b0fa5996b9a6a8a926 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-15settings: remove build artifactsMatt Ranostay3-27/+0
Remove several files that were added by accident from build environment Change-Id: I394b2d308afdcfc68c378af227691b4fe3f7947e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-03-05Improve version information for AGL UCB.Harunobu Kurokawa2-1/+12
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-15Update to new color schemeTadao Tanikawa9-542/+227
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: I6d8c30d9682b9a267c293dd7bcee7d3828af80b8 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-14Revert "settings: switch keyboard to qtvirtualkeyboardplugin"Matt Ranostay4-16/+8
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 Ranostay4-8/+16
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-22QML: Bluetooth: fix initial paired devices listeel_4.99.3eel/4.99.34.99.3Matt Ranostay1-1/+1
Paired device count was being set to zero after getting initial list from the bluetooth service. Bug-AGL: SPEC-1123 Change-Id: If4d70e45bcb2b3fcbde3f4ace0d251601e38c157 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Merge "Porting to new HMI Framework"Jan-Simon Moeller2-17/+49
2017-11-14Porting to new HMI FrameworkScott Murray2-17/+49
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-11-13QML: Bluetooth patch to limit device name lengthLiPengKun1-1/+8
This is a patch to fix the Bluetooth issue that long device name may cover pair button Change-Id: Ida0fd980cf3308be959eb74ea30e11beeffd5453 Signed-off-by: LiPengKun <pengkun.li@jp.alps.com>
2017-11-05Change version for EE in settings appeel_4.99.2eel/4.99.24.99.2Jan-Simon Möller1-1/+1
Change-Id: Ic34a8d89deb93b1b8d303dda86e0d524fef7e94b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-01qml: change BT layouteel_4.99.1eel/4.99.14.99.1sandbox/kmitsunari/hmi-frameworkLiPengKun1-47/+179
This is change BT discoveried BT device into two list. List 1 : this is a list for paired device. List 2 : this is a list for discoveried device that not paired. Change-Id: I5a24b6278078e267150d2f88e94c4eb32719f52b Signed-off-by: LiPengKun <pengkun.li@jp.alps.com>