def _configurationMismatchMessageCallback(self, button):
def delayedCallback():
if button == QMessageBox.Yes:
self.startPrint()
else:
Application.getInstance().showPrintMonitor.emit(False)
# For some unknown reason Cura on OSX will hang if we do the call back code
# immediately without first returning and leaving QML's event system.
QTimer.singleShot(100, delayedCallback)
NetworkPrinterOutputDevice.py 文件源码
python
阅读 14
收藏 0
点赞 0
评论 0
评论列表
文章目录