From 41c94fd247cd5400e39a66961fab560fefe53cb3 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 3 Feb 2017 15:03:24 +0100 Subject: [PATCH] Add variant names to extruder boxes In the bottom-right corner. Contributes to issue CURA-3161. --- resources/qml/PrintMonitor.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml index 537adc53e5..c23d732d62 100644 --- a/resources/qml/PrintMonitor.qml +++ b/resources/qml/PrintMonitor.qml @@ -134,6 +134,16 @@ Column anchors.bottom: parent.bottom anchors.bottomMargin: UM.Theme.getSize("default_margin").height } + Text //Variant name. + { + text: printerConnected ? connectedPrinter.hotendIds[index] : "" + font: UM.Theme.getFont("default") + color: UM.Theme.getColor("text") + anchors.right: parent.right + anchors.rightMargin: UM.Theme.getSize("default_margin").width + anchors.bottom: parent.bottom + anchors.bottomMargin: UM.Theme.getSize("default_margin").height + } } } }