Implement test version of showing cloud connected printers in list

This commit is contained in:
ChrisTerBeke 2018-12-04 14:09:20 +01:00
parent 82d2696739
commit e98f3bff38
5 changed files with 99 additions and 3 deletions

View file

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