mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 21:31:15 -07:00
CURA-5158 Create a custom signal that is emitted when global container
changes and output devices change.
This commit is contained in:
parent
35cd4eb572
commit
79daf3706b
9 changed files with 20 additions and 11 deletions
|
|
@ -14,8 +14,8 @@ ToolButton
|
|||
{
|
||||
id: base
|
||||
property bool isNetworkPrinter: Cura.MachineManager.activeMachineNetworkKey != ""
|
||||
property bool printerConnected: Cura.MachineManager.printerOutputDevices.length != 0
|
||||
property var printerStatus: Cura.MachineManager.printerOutputDevices.length != 0 ? "connected" : "disconnected"
|
||||
property bool printerConnected: Cura.MachineManager.printerConnected
|
||||
property var printerStatus: Cura.MachineManager.printerConnected ? "connected" : "disconnected"
|
||||
text: isNetworkPrinter ? Cura.MachineManager.activeMachineNetworkGroupName : Cura.MachineManager.activeMachineName
|
||||
|
||||
tooltip: Cura.MachineManager.activeMachineName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue