|
@@ -38,7 +38,7 @@ class PrintInformation(QObject):
|
|
|
|
|
|
self.initializeCuraMessagePrintTimeProperties()
|
|
|
|
|
|
- self._slice_uuid: Optional[str] = None
|
|
|
+ self.slice_uuid: Optional[str] = None
|
|
|
|
|
|
# Indexed by build plate number
|
|
|
self._material_lengths = {} # type: Dict[int, List[float]]
|
|
@@ -134,14 +134,6 @@ class PrintInformation(QObject):
|
|
|
self._updateJobName()
|
|
|
self.preSlicedChanged.emit()
|
|
|
|
|
|
- @property
|
|
|
- def slice_uuid(self) -> Optional[str]:
|
|
|
- return self._slice_uuid
|
|
|
-
|
|
|
- @slice_uuid.setter
|
|
|
- def slice_uuid(self, value: Optional[str]) -> None:
|
|
|
- self._slice_uuid = value
|
|
|
-
|
|
|
@pyqtProperty(QObject, notify = currentPrintTimeChanged)
|
|
|
def currentPrintTime(self) -> Duration:
|
|
|
return self._current_print_time[self._active_build_plate]
|