def clearOutputHandler(self): choice = yesNoBox(self, "Confirm", "Really clear output?") if choice == QMessageBox.Yes: self.outputTextEdit.clear() logger.info("Output cleared")
def closeEvent(self, event): choice = yesNoBox(self, "Confirm", "Really exit the RenderNodeMain server?") if choice == QMessageBox.Yes: self.shutdown() else: event.ignore()