qt list widget let editable

33

listwidget = <QListWidget>
for index in range(listwidget.count()):
    item = listwidget.item(index)
    item.setFlags(item.flags() | Qt.ItemIsEditable)

Comments

Submit
0 Comments