diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:17:48 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:17:48 -0800 |
commit | 038cfcba911f2ae0e22ef6138042a6154578723c (patch) | |
tree | fe726744e7188c3a1a2065ae831f07c562efc477 /qt-mobile | |
parent | f61b83301ae6ba40dadb0dc3b18ff6a6ce923ddf (diff) | |
download | subsurface-038cfcba911f2ae0e22ef6138042a6154578723c.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/GpsList.qml | 6 | ||||
-rw-r--r-- | qt-mobile/qml/mobile-resources.qrc | 1 |
2 files changed, 7 insertions, 0 deletions
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 @@ <file alias="org/kde/plasma/mobilecomponents/icons/view-readermode.svg">mobilecomponents/icons/view-readermode.svg</file> <file alias="org/kde/plasma/mobilecomponents/icons/dialog-cancel.svg">mobilecomponents/icons/dialog-cancel.svg</file> <file alias="org/kde/plasma/mobilecomponents/icons/application-menu.svg">mobilecomponents/icons/application-menu.svg</file> + <file alias="org/kde/plasma/mobilecomponents/icons/gps.svg">mobilecomponents/icons/gps.svg</file> <file alias="org/kde/plasma/mobilecomponents/icons/trash-empty.svg">mobilecomponents/icons/trash-empty.svg</file> </qresource> </RCC> |