mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
T466: Added hiding of properties menu
This commit is contained in:
parent
d7b4296cfc
commit
2ee5e2cb0b
3 changed files with 27 additions and 4 deletions
|
@ -16,6 +16,7 @@ Rectangle
|
|||
|
||||
property int currentModeIndex;
|
||||
property bool monitoringPrint: false
|
||||
property bool hideSettings: Printer.hideSettings
|
||||
Connections
|
||||
{
|
||||
target: Printer
|
||||
|
@ -296,7 +297,7 @@ Rectangle
|
|||
width: parent.width * 0.45 - 2 * UM.Theme.getSize("default_margin").width
|
||||
font: UM.Theme.getFont("large")
|
||||
color: UM.Theme.getColor("text")
|
||||
visible: !monitoringPrint
|
||||
visible: !monitoringPrint && !hideSettings
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
|
@ -308,7 +309,7 @@ Rectangle
|
|||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
anchors.top: headerSeparator.bottom
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
visible: !monitoringPrint
|
||||
visible: !monitoringPrint && !hideSettings
|
||||
Component{
|
||||
id: wizardDelegate
|
||||
Button {
|
||||
|
@ -432,7 +433,7 @@ Rectangle
|
|||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.left: base.left
|
||||
anchors.right: base.right
|
||||
visible: !monitoringPrint
|
||||
visible: !monitoringPrint && !hideSettings
|
||||
|
||||
delegate: StackViewDelegate
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue