summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-19 18:42:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-23 03:20:58 +0900
commit98268a0c7e0ccff3a6d1479edfea6246e0d4cfe3 (patch)
treea4c02e41cb805993933f61d9887c50c2e4fbc65c
parent5739294c07b97d2d4497b3203b0592cee5dbda9d (diff)
downloadsubsurface-98268a0c7e0ccff3a6d1479edfea6246e0d4cfe3.tar.gz
QML UI: add icons to the GPS menu
As per title. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
-rw-r--r--mobile-widgets/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index f5a80edb2..9dedb190b 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -198,6 +198,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
visible: (Qt.platform.os !== "ios")
Kirigami.Action {
+ iconName: "icons/ic_cloud_upload.svg"
text: qsTr("Upload GPS data")
onTriggered: {
manager.sendGpsData();
@@ -205,6 +206,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
Kirigami.Action {
+ iconName: "icons/ic_cloud_download.svg"
text: qsTr("Download GPS data")
onTriggered: {
manager.downloadGpsData();
@@ -212,6 +214,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
Kirigami.Action {
+ iconName: "icons/ic_gps_fixed.svg"
text: qsTr("Show GPS fixes")
onTriggered: {
returnTopPage()
@@ -221,6 +224,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
Kirigami.Action {
+ iconName: "icons/ic_clear.svg"
text: qsTr("Clear GPS cache")
onTriggered: {
manager.clearGpsData();