mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Introduce printing/busy status and make monitor i18n-aware
CURA-1036
This commit is contained in:
parent
7d962e97c4
commit
7ec605579e
2 changed files with 25 additions and 13 deletions
|
|
@ -95,15 +95,13 @@ Rectangle
|
|||
onClicked: monitoringPrint = true
|
||||
iconSource: {
|
||||
if(!printerConnected)
|
||||
{
|
||||
return UM.Theme.getIcon("tab_monitor")
|
||||
} else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused")
|
||||
{
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "printing")
|
||||
return UM.Theme.getIcon("tab_monitor_busy")
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused")
|
||||
return UM.Theme.getIcon("tab_monitor_paused")
|
||||
} else if (Cura.MachineManager.printerOutputDevices[0].jobState != "error")
|
||||
{
|
||||
else if (Cura.MachineManager.printerOutputDevices[0].jobState != "error")
|
||||
return UM.Theme.getIcon("tab_monitor_connected")
|
||||
}
|
||||
}
|
||||
checkable: true
|
||||
exclusiveGroup: sidebarHeaderBarGroup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue