mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Make ConnectionType Enum type accessible to QML
CURA-6011
This commit is contained in:
parent
a1ad7851d9
commit
4252b95603
3 changed files with 18 additions and 2 deletions
|
@ -30,9 +30,16 @@ Column
|
|||
model: UM.ContainerStacksModel
|
||||
{
|
||||
id: networkedPrintersModel
|
||||
property var umConnectionTypes: [Cura.PrinterOutputDevice.NetworkConnection,
|
||||
Cura.PrinterOutputDevice.ClusterConnection,
|
||||
Cura.PrinterOutputDevice.CloudConnection
|
||||
]
|
||||
filter:
|
||||
{
|
||||
"type": "machine", "um_network_key": "*", "hidden": "False", "um_connection_type": "[2,3,4]"
|
||||
"type": "machine",
|
||||
"um_network_key": "*",
|
||||
"hidden": "False",
|
||||
"um_connection_type": "[" + umConnectionTypes.join(",") + "]"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue