Re: [PyQt] QTreeWidget setItemWidget dissapears after drag & drop

2010-03-09 Thread Taylor Carrasco
Any idea how to keep the setItemWidget() after it's reparented ? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QTreeWidget setItemWidget dissapears after drag & drop

2010-03-05 Thread Phil Thompson
On Fri, 5 Mar 2010 16:09:42 +1300, Taylor Carrasco wrote: > I'm trying to keep a widget put into a QTreeWidgetItem after a reparent > (drag and drop) using QTreeWidget.setItemWidget() > > But the result, if you compile the following code - is that the widget > inside the QTreeWidgetItem disappear

[PyQt] QTreeWidget setItemWidget dissapears after drag & drop

2010-03-04 Thread Taylor Carrasco
I'm trying to keep a widget put into a QTreeWidgetItem after a reparent (drag and drop) using QTreeWidget.setItemWidget() But the result, if you compile the following code - is that the widget inside the QTreeWidgetItem disappears. Any idea why? What code would fix this (repopulate the QTreeWidget