Any idea how to keep the setItemWidget() after it's reparented ?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
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
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