mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Remove broken UI element
Seems to have been broken since the move to 5.x...
This commit is contained in:
parent
90fae7ddb4
commit
b7fd75b2dd
1 changed files with 0 additions and 44 deletions
|
@ -37,50 +37,6 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Printer type selector.
|
|
||||||
Item
|
|
||||||
{
|
|
||||||
id: printerTypeSelectorRow
|
|
||||||
visible:
|
|
||||||
{
|
|
||||||
return Cura.MachineManager.printerOutputDevices.length >= 1 //If connected...
|
|
||||||
&& Cura.MachineManager.printerOutputDevices[0].connectedPrintersTypeCount != null //...and we have configuration information...
|
|
||||||
&& Cura.MachineManager.printerOutputDevices[0].connectedPrintersTypeCount.length > 1; //...and there is more than one type of printer in the configuration list.
|
|
||||||
}
|
|
||||||
height: visible ? childrenRect.height : 0
|
|
||||||
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
top: header.bottom
|
|
||||||
topMargin: visible ? UM.Theme.getSize("default_margin").height : 0
|
|
||||||
}
|
|
||||||
|
|
||||||
UM.Label
|
|
||||||
{
|
|
||||||
text: catalog.i18nc("@label", "Printer")
|
|
||||||
width: Math.round(parent.width * 0.3) - UM.Theme.getSize("default_margin").width
|
|
||||||
height: contentHeight
|
|
||||||
anchors.verticalCenter: printerTypeSelector.verticalCenter
|
|
||||||
anchors.left: parent.left
|
|
||||||
}
|
|
||||||
|
|
||||||
Button
|
|
||||||
{
|
|
||||||
id: printerTypeSelector
|
|
||||||
text: Cura.MachineManager.activeMachine !== null ? Cura.MachineManager.activeMachine.definition.name: ""
|
|
||||||
|
|
||||||
height: UM.Theme.getSize("print_setup_big_item").height
|
|
||||||
width: Math.round(parent.width * 0.7) + UM.Theme.getSize("default_margin").width
|
|
||||||
anchors.right: parent.right
|
|
||||||
onClicked: menu.open()
|
|
||||||
//style: UM.Theme.styles.print_setup_header_button
|
|
||||||
|
|
||||||
Cura.PrinterTypeMenu { id: menu}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
UM.TabRow
|
UM.TabRow
|
||||||
{
|
{
|
||||||
id: tabBar
|
id: tabBar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue