aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-24 10:39:37 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-27 14:25:03 -0800
commit97e2890990eabb7bf4fceef09768b8210c903411 (patch)
treeae87aafb58791616de9ea8e9ee146f315de59220 /mobile-widgets/qml
parentb6e86a1c70bd764734acffbef251b466fa7156fa (diff)
downloadsubsurface-97e2890990eabb7bf4fceef09768b8210c903411.tar.gz
mobile-widgets/qml: integrate DiveSummary in menu.
Add DiveSummary to globalDrawer Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index f914cf205..e63cbdb7a 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -394,6 +394,14 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
},
Kirigami.Action {
+ text: qsTr("Dive summary")
+ onTriggered: {
+ globalDrawer.close()
+ pageStack.push(diveSummaryWindow)
+ detailsWindow.endEditMode()
+ }
+ },
+ Kirigami.Action {
icon {
name: ":/icons/ic_info_outline.svg"
}
@@ -815,6 +823,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
visible: false
}
+ DiveSummary {
+ id: diveSummaryWindow
+ visible: false
+ }
+
ThemeTest {
id: themetest
visible: false