QML UI: add icons to the GPS menu

As per title.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-07-19 18:42:12 +02:00 committed by Dirk Hohndel
parent 5739294c07
commit 98268a0c7e

View file

@ -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();