Add per-extruder preheat controls

These are lifted from the bed preheat controls and are not functional at the moment
This commit is contained in:
fieldOfView 2018-01-10 21:41:59 +01:00
parent c4aae784ee
commit fb9d841c90
4 changed files with 264 additions and 3 deletions

View file

@ -218,6 +218,13 @@ class PrinterOutputModel(QObject):
return self._controller.can_pre_heat_bed
return False
# Does the printer support pre-heating the bed at all
@pyqtProperty(bool, constant=True)
def canPreHeatExtruders(self):
if self._controller:
return self._controller.can_pre_heat_extruders
return False
# Does the printer support pause at all
@pyqtProperty(bool, constant=True)
def canPause(self):