From 97e2890990eabb7bf4fceef09768b8210c903411 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 24 Jan 2020 10:39:37 +0100 Subject: mobile-widgets/qml: integrate DiveSummary in menu. Add DiveSummary to globalDrawer Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mobile-widgets') 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 @@ -393,6 +393,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 -- cgit v1.2.3-70-g09d2