aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-08-12 19:49:11 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 15:24:15 -0700
commit3d5ad1988876bfa2ba56ae2257359f9ccc9d8b82 (patch)
tree14ec18334f70c5520858f75282b180027b99dac3 /qt-mobile/DiveDetails.qml
parent1925b3d012b0409012c65be3e33a7f38d3ef291f (diff)
downloadsubsurface-3d5ad1988876bfa2ba56ae2257359f9ccc9d8b82.tar.gz
QML UI: Add button to hide dive profile
Allow toggling of dive profile visibility Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/DiveDetails.qml')
-rw-r--r--qt-mobile/DiveDetails.qml7
1 files changed, 7 insertions, 0 deletions
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