Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2017-11-02 11:53:36 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2017-11-02 11:53:36 +0300
commita623c2ae75006f525dc498156963d6dc6ba79a1f (patch)
tree004d29d691308cc851bc0791f6bc449b835fc616 /cura
parentd503283089d44e2a1c9a6798b8399e750f87edc5 (diff)
parent142ff4e9dc8e6d1cf7a844e77065ae5a22b25ada (diff)
Merge branch 'master' of https://github.com/Ultimaker/Cura
Diffstat (limited to 'cura')
-rw-r--r--cura/PrinterOutputDevice.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py
index c6e98257ba..837ecc97c6 100644
--- a/cura/PrinterOutputDevice.py
+++ b/cura/PrinterOutputDevice.py
@@ -74,6 +74,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
self._can_pause = True
self._can_abort = True
self._can_pre_heat_bed = True
+ self._can_control_manually = True
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None):
raise NotImplementedError("requestWrite needs to be implemented")
@@ -144,6 +145,11 @@ class PrinterOutputDevice(QObject, OutputDevice):
def canAbort(self):
return self._can_abort
+ # Does the printer support manual control at all
+ @pyqtProperty(bool, constant=True)
+ def canControlManually(self):
+ return self._can_control_manually
+
@pyqtProperty(QObject, constant=True)
def monitorItem(self):
# Note that we specifically only check if the monitor component is created.