示例#1
0
 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()
示例#2
0
 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()
示例#3
0
 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()
示例#4
0
 def clearLog(self):
     ProcessingLog.clearLog()
     self.fillTree()
示例#5
0
 def clearLog(self):
     ProcessingLog.clearLog()
     self.fillTree()