def removeExploitSuccess(self, exploit):
self.__exploitsSuccess.remove(exploit)
root = self.treeWidget.invisibleRootItem()
for i in range(root.childCount()):
item = root.child(i)
if item.text(0) == exploit.name:
item.setForeground(0, QBrush(QColor(Qt.black)))
评论列表
文章目录