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.
This commit is contained in:
Ghostkeeper 2017-02-07 16:38:28 +01:00
parent 8e25a1c73f
commit 9b235aebf2
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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