[PyQt] QTreeWidgetItem also forgets its Python counterpart

2013-03-11 Thread Wilbert Berendsen
Hi, I am having a similar bug indeed in sip-4.14.3 / PyQt-4.9.6 where QTreeWidgetItem forgets its Python state when created with a QTreeWidget().invisibleRootItem() as parent. After importing * from PyQt4.QtCore and QtGui: >>> app=QApplication([]) >>> w=QTreeWidget() >>> class Item(QTreeWidgetIt

Re: [PyQt] QTreeWidgetItem also forgets its Python counterpart

2013-03-12 Thread Phil Thompson
On Tue, 12 Mar 2013 06:42:08 +0100, Wilbert Berendsen wrote: > Hi, > > I am having a similar bug indeed in sip-4.14.3 / PyQt-4.9.6 where > QTreeWidgetItem forgets its Python state when created with a > QTreeWidget().invisibleRootItem() as parent. > > After importing * from PyQt4.QtCore and QtGui