[PyQt] QTreeWidget - drag&drop help

Baz Walter bazwal at ftml.net
Thu Oct 22 23:24:38 BST 2009

Taylor Carrasco wrote:
> I can't grab which QTreeItemWidget was dragged, and the QTreeItemWidget it
> was dragged onto (parented under).


     def rowsInserted(self, parent, start, end):
         print parent.row(), start, end
         QtGui.QTreeWidget.rowsInserted(self, parent, start, end)

More information about the PyQt mailing list