mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Implement test version of showing cloud connected printers in list
This commit is contained in:
parent
82d2696739
commit
e98f3bff38
5 changed files with 99 additions and 3 deletions
|
@ -527,6 +527,12 @@ class MachineManager(QObject):
|
|||
return self._global_container_stack.getMetaDataEntry("um_network_key", "")
|
||||
return ""
|
||||
|
||||
@pyqtProperty(str, notify=printerConnectedStatusChanged)
|
||||
def activeMachineCloudKey(self) -> str:
|
||||
if self._global_container_stack:
|
||||
return self._global_container_stack.getMetaDataEntry("um_cloud_cluster_id", "")
|
||||
return ""
|
||||
|
||||
@pyqtProperty(str, notify = printerConnectedStatusChanged)
|
||||
def activeMachineNetworkGroupName(self) -> str:
|
||||
if self._global_container_stack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue