mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +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()
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
name: ":/icons/ic_cloud_upload.svg"
|
||||
}
|
||||
text: qsTr("Export")
|
||||
onTriggered: {
|
||||
globalDrawer.close()
|
||||
pageStack.push(exportWindow)
|
||||
detailsWindow.endEditMode()
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
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
|
||||
}
|
||||
|
||||
Export {
|
||||
id: exportWindow
|
||||
visible: false
|
||||
}
|
||||
|
||||
DiveDetails {
|
||||
id: detailsWindow
|
||||
visible: false
|
||||
|
|
Loading…
Add table
Reference in a new issue