From 3d5ad1988876bfa2ba56ae2257359f9ccc9d8b82 Mon Sep 17 00:00:00 2001 From: Grace Karanja Date: Wed, 12 Aug 2015 19:49:11 +0300 Subject: QML UI: Add button to hide dive profile Allow toggling of dive profile visibility Signed-off-by: Grace Karanja --- qt-mobile/DiveDetails.qml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'qt-mobile') diff --git a/qt-mobile/DiveDetails.qml b/qt-mobile/DiveDetails.qml index 3c5120a85..d6a562630 100644 --- a/qt-mobile/DiveDetails.qml +++ b/qt-mobile/DiveDetails.qml @@ -91,6 +91,13 @@ Item { } } } + Button { + text: "Show/Hide Dive Profile" + onClicked: { + qmlProfile.visible = !qmlProfile.visible + } + } + GridLayout { id: editorDetails width: parent.width -- cgit v1.2.3-70-g09d2