some script.
This commit is contained in:
parent
b885c4e022
commit
2f01c0187a
3
dm.py
3
dm.py
@ -174,8 +174,9 @@ class TableWidgetExample(QMainWindow):
|
||||
self.table.setRowCount(len(lines))
|
||||
for row, line in enumerate(lines):
|
||||
item = QTableWidgetItem(line)
|
||||
status = QTableWidgetItem("队列中")
|
||||
self.table.setItem(row, 0, item)
|
||||
|
||||
self.table.setItem(row, 1, status)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user