QML UI: Add button to hide dive profile

Allow toggling of dive profile visibility

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
Grace Karanja 2015-08-12 19:49:11 +03:00 committed by Dirk Hohndel
parent 1925b3d012
commit 3d5ad19888

View file

@ -91,6 +91,13 @@ Item {
}
}
}
Button {
text: "Show/Hide Dive Profile"
onClicked: {
qmlProfile.visible = !qmlProfile.visible
}
}
GridLayout {
id: editorDetails
width: parent.width