From 038cfcba911f2ae0e22ef6138042a6154578723c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Jan 2016 23:17:48 -0800 Subject: QML UI: add second action to GPS list entries This one will allow people to see the location on a map. Also not implemented, yet. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/GpsList.qml | 6 ++++++ qt-mobile/qml/mobile-resources.qrc | 1 + 2 files changed, 7 insertions(+) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml index 0dfa54c91..1e3242e6d 100644 --- a/qt-mobile/qml/GpsList.qml +++ b/qt-mobile/qml/GpsList.qml @@ -92,6 +92,12 @@ MobileComponents.Page { onTriggered: { print("delete this!") } + }, + Action { + iconName: "gps" + onTriggered: { + print("show map") + } } ] diff --git a/qt-mobile/qml/mobile-resources.qrc b/qt-mobile/qml/mobile-resources.qrc index 452cf1391..3a84bbf66 100644 --- a/qt-mobile/qml/mobile-resources.qrc +++ b/qt-mobile/qml/mobile-resources.qrc @@ -48,6 +48,7 @@ mobilecomponents/icons/view-readermode.svg mobilecomponents/icons/dialog-cancel.svg mobilecomponents/icons/application-menu.svg + mobilecomponents/icons/gps.svg mobilecomponents/icons/trash-empty.svg -- cgit v1.2.3-70-g09d2