mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1925b3d012
commit
3d5ad19888
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,13 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Button {
|
||||||
|
text: "Show/Hide Dive Profile"
|
||||||
|
onClicked: {
|
||||||
|
qmlProfile.visible = !qmlProfile.visible
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
id: editorDetails
|
id: editorDetails
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue