mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Made slice_uuid a public field
Contributes to CURA-9031
This commit is contained in:
parent
a88e31eddd
commit
d9e3e4d395
1 changed files with 1 additions and 9 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue