mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
5739294c07
commit
98268a0c7e
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue