[PATCH 3/3] QML UI: add planner to main menu
Rick Walsh
rickmwalsh at gmail.com
Wed Feb 10 02:33:34 PST 2016
Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---
qt-mobile/qml/main.qml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 6054b2f..ec52595 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -90,6 +90,12 @@ MobileComponents.ApplicationWindow {
manager.saveChanges();
}
}
+ Action {
+ text: "Plan dive"
+ onTriggered: {
+ stackView.push(planDiveWindow)
+ }
+ }
},
MobileComponents.ActionGroup {
@@ -257,6 +263,11 @@ MobileComponents.ApplicationWindow {
visible: false
}
+ Planner {
+ id: planDiveWindow
+ visible: false
+ }
+
Log {
id: logWindow
visible: false
--
2.5.0
More information about the subsurface
mailing list