mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Added property for target bed temp
CURA-1339
This commit is contained in:
parent
f963ad5021
commit
0f097f0f64
@ -70,6 +70,11 @@ class PrinterOutputDevice(OutputDevice, QObject):
|
|||||||
def _setTargetBedTemperature(self, temperature):
|
def _setTargetBedTemperature(self, temperature):
|
||||||
pass
|
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
|
## Set the (target) hotend temperature
|
||||||
# This function is "final" (do not re-implement)
|
# This function is "final" (do not re-implement)
|
||||||
# /param index the index of the hotend that needs to change temperature
|
# /param index the index of the hotend that needs to change temperature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user