From 0015d9d02732f8d29f19eb379a7a966bad0555ce Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 18 Apr 2016 11:37:08 +0200 Subject: [PATCH] Documented signals CURA-1339 --- cura/PrinterOutputDevice.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index 5509ae1b8c..d9c3a0d9f7 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -32,17 +32,28 @@ class PrinterOutputDevice(OutputDevice, QObject): def requestWrite(self, node, file_name = None, filter_by_machine = False): raise NotImplementedError("requestWrite needs to be implemented") - # Signals: + ## Signals + + # Signal to be emitted when bed temp is changed bedTemperatureChanged = pyqtSignal() + + # Signal to be emitted when target bed temp is changed targetBedTemperatureChanged = pyqtSignal() + # Signal when the progress is changed (usually when this output device is printing / sending lots of data) progressChanged = pyqtSignal() + # Signal to be emitted when hotend temp is changed hotendTemperaturesChanged = pyqtSignal() + + # Signal to be emitted when target hotend temp is changed targetHotendTemperaturesChanged = pyqtSignal() + # Signal to be emitted when head position is changed (x,y,z) headPositionChanged = pyqtSignal() + # Signal that is emitted every time connection state is changed. + # it also sends it's own device_id (for convenience sake) connectionStateChanged = pyqtSignal(str) ## Get the bed temperature of the bed (if any)