From 9b235aebf2cf829ec89413f57a1bab1a1804a0f1 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 7 Feb 2017 16:38:28 +0100 Subject: [PATCH] Add clock icon to pre-heat countdown It's aligned left of the pre-heat countdown and only visible if the countdown is visible. Contributes to issue CURA-3161. --- resources/qml/PrintMonitor.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml index 277ae9b325..30f021675b 100644 --- a/resources/qml/PrintMonitor.qml +++ b/resources/qml/PrintMonitor.qml @@ -267,6 +267,21 @@ Column } } + UM.RecolorImage + { + id: preheatCountdownIcon + width: UM.Theme.getSize("save_button_specs_icons").width + height: UM.Theme.getSize("save_button_specs_icons").height + sourceSize.width: width + sourceSize.height: height + color: UM.Theme.getColor("text") + visible: preheatCountdown.visible + source: UM.Theme.getIcon("print_time") + anchors.right: preheatCountdown.left + anchors.rightMargin: UM.Theme.getSize("default_margin").width / 2 + anchors.verticalCenter: preheatCountdown.verticalCenter + } + Timer { id: preheatCountdownTimer