From 4fc91d4f6de478518fd54f6268a9026697e65e69 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 12 Apr 2021 12:11:50 +0200 Subject: [PATCH] Add notification to connect the printer even if the printer is not network-connected There could be other methods of connecting than the network connectivity of the UM3NetworkPrinting plug-in. For instance, perhaps other network connection plug-ins can provide information in this monitor stage. Or the user might want to use a USB cable. I'm explicitly quite vague about how it should be connected because this label should work for all types of connections except UM3NetworkPrinting. Fixes #9444. --- plugins/MonitorStage/MonitorMain.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/MonitorStage/MonitorMain.qml b/plugins/MonitorStage/MonitorMain.qml index 56f916dc25..d5fdb66c89 100644 --- a/plugins/MonitorStage/MonitorMain.qml +++ b/plugins/MonitorStage/MonitorMain.qml @@ -164,5 +164,16 @@ Rectangle onExited: manageQueueText.font.underline = false } } + Label + { + id: noConnectionLabel + anchors.horizontalCenter: parent.horizontalCenter + visible: !isNetworkConfigurable + text: catalog.i18nc("@info", "In order to monitor your print from Cura, please connect the printer.") + font: UM.Theme.getFont("medium") + color: UM.Theme.getColor("text") + wrapMode: Text.WordWrap + width: contentWidth + } } }