Remove old connected printer header

It has been replaced by a nicer header.

Contributes to issue CURA-3161.
This commit is contained in:
Ghostkeeper 2017-02-02 14:48:06 +01:00
parent c7a91f07d2
commit 7b8d41cb8f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -68,34 +68,6 @@ Column
} }
} }
Label {
id: monitorLabel
text: catalog.i18nc("@label","Printer Monitor");
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width;
width: parent.width * 0.45
font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text")
visible: monitoringPrint
}
Item
{
width: base.width - 2 * UM.Theme.getSize("default_margin").width
height: childrenRect.height + UM.Theme.getSize("default_margin").height
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width
Label
{
text: printerConnected ? connectedPrinter.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
font: UM.Theme.getFont("default")
wrapMode: Text.WordWrap
width: parent.width
}
}
Loader Loader
{ {
sourceComponent: monitorSection sourceComponent: monitorSection