mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 07:17:52 -06:00
Added property for target bed temp
CURA-1339
This commit is contained in:
parent
f963ad5021
commit
0f097f0f64
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ class PrinterOutputDevice(OutputDevice, QObject):
|
|||
def _setTargetBedTemperature(self, temperature):
|
||||
pass
|
||||
|
||||
## Get the target bed temperature if connected printer (if any)
|
||||
@pyqtProperty(int, notify = targetBedTemperatureChanged)
|
||||
def targetBedTemperature(self):
|
||||
return self._target_bed_temperature
|
||||
|
||||
## Set the (target) hotend temperature
|
||||
# This function is "final" (do not re-implement)
|
||||
# /param index the index of the hotend that needs to change temperature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue