mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets/qml: integrate export page in main.qml
Add export function to GlobalDrawer, allowing the user to export the divelog. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
578abeda80
commit
5307cbc1c7
1 changed files with 16 additions and 0 deletions
|
@ -434,6 +434,17 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
detailsWindow.endEditMode()
|
detailsWindow.endEditMode()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Kirigami.Action {
|
||||||
|
icon {
|
||||||
|
name: ":/icons/ic_cloud_upload.svg"
|
||||||
|
}
|
||||||
|
text: qsTr("Export")
|
||||||
|
onTriggered: {
|
||||||
|
globalDrawer.close()
|
||||||
|
pageStack.push(exportWindow)
|
||||||
|
detailsWindow.endEditMode()
|
||||||
|
}
|
||||||
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon {
|
icon {
|
||||||
name: ":/icons/ic_help_outline.svg"
|
name: ":/icons/ic_help_outline.svg"
|
||||||
|
@ -794,6 +805,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
visible: false
|
visible: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Export {
|
||||||
|
id: exportWindow
|
||||||
|
visible: false
|
||||||
|
}
|
||||||
|
|
||||||
DiveDetails {
|
DiveDetails {
|
||||||
id: detailsWindow
|
id: detailsWindow
|
||||||
visible: false
|
visible: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue