Added property for target bed temp

CURA-1339
This commit is contained in:
Jaime van Kessel 2016-04-13 13:48:32 +02:00
parent f963ad5021
commit 0f097f0f64

View File

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