Quote:
Originally Posted by jackie_w
Code:
QTableWidgetItem.__init__(self, text, QTableWidgetItem.UserType)
self.setFlags(Qt.ItemIsSelectable|Qt.ItemIsEnabled)
|
Not tested, but a suggestion based on the problems I found porting my plugins... maybe you should use:
Code:
QTableWidgetItem.ItemType.UserType
https://doc.qt.io/qt-6/qtablewidgeti...#ItemType-enum
I noticed this change on setting
flags, maybe this is the same case.
For example, on Qt 5, you could use this:
Code:
QApplication.processEvents(QtCore.QEventLoop.ExcludeUserInputEvents)
On Qt 6, you need to be more explicit:
Code:
QApplication.processEvents(QtCore.QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents)