def clearLog(self): reply = QMessageBox.question( self, self.tr('Confirmation'), self.tr('Are you sure you want to clear the history?'), QMessageBox.Yes | QMessageBox.No, QMessageBox.No) if reply == QMessageBox.Yes: ProcessingLog.clearLog() self.fillTree()
def clearLog(self): reply = QMessageBox.question(self, self.tr('Confirmation'), self.tr('Are you sure you want to clear log?'), QMessageBox.Yes | QMessageBox.No, QMessageBox.No) if reply == QMessageBox.Yes: ProcessingLog.clearLog() self.fillTree()
def clearLog(self): reply = QMessageBox.question( self, self.tr("Confirmation"), self.tr("Are you sure you want to clear the history?"), QMessageBox.Yes | QMessageBox.No, QMessageBox.No, ) if reply == QMessageBox.Yes: ProcessingLog.clearLog() self.fillTree()
def clearLog(self): ProcessingLog.clearLog() self.fillTree()