[PyQt] QTreeWidget - drag&drop help
Taylor Carrasco
crackerbunny at gmail.com
Wed Oct 21 22:28:08 BST 2009
For my QTreeWidget I'm still confused as to what to put in dropEvent()
Again, I only have event.accept() so far, and I can't figure out what else I
need to make sure the row I'm dragged get's put into the row it supposed to,
just as if I had never written the custom event in the first place.
def dropEvent(self, event):
print 'Drop pos: ', event.pos()
event.accept()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091021/9d6125df/attachment.html
More information about the PyQt
mailing list