summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-09qml: wifi: update subscription to eventsMatt Ranostay1-76/+10
Update the subscription to wifi events to the ne more consistent format Bug-AGL: SPEC-820 Change-Id: Ie38b9f6d0e43f402cc4db76f9c9349d54d5ace04 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-08-08qml: bluetooth: update subscription to eventsMatt Ranostay1-53/+4
Update the subscription to bluetooth events to the new more consistent format Bug-AGL: SPEC-819 Change-Id: I4236ca5f018be42d58f474220c418354437721f4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-12Update version info to Daring DabHarunobu Kurokawa1-1/+1
Bug-AGL: SPEC-656 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-06-25qml: launcher: initial bt + wifi states on loadMatt Ranostay1-0/+4
Initial load didn't have the actual BT or WiFi states on the slider switches. This patchset sets them after probing to find current state via DBus services. Change-Id: I9e0bc0a6477c81d5acf7adfe3d5f15d941c33da9 Bug-AGL: SPEC-703 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-16binding: remove unused binding filesMatt Ranostay2-84/+0
Binding.qml and MessageId.js aren't used in any part of the settings application. Change-Id: I4139fe41625695c25096961454eed219c744d66f Bug-AGL: SPEC-648 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-05-12bluetooth: allow detection of bluetooth enabledMatt Ranostay2-0/+11
Bluetooth can now be enabled via connmand dbus service, and needs to detect if already enabled. Change-Id: I279a571b89381579eb05705410210a9266039377 Bug-AGL: SPEC-570 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>