I can't grab which QTreeItemWidget was dragged, and the QTreeItemWidget it was dragged onto (parented under).<br><br><br><div class="gmail_quote">On Fri, Oct 23, 2009 at 6:38 AM, Baz Walter <span dir="ltr"><<a href="mailto:bazwal@ftml.net">bazwal@ftml.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Taylor Carrasco wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For my QTreeWidget I'm still confused as to what to put in dropEvent()<br>
<br>
Again, I only have event.accept() so far, and I can't figure out what else I<br>
need to make sure the row I'm dragged get's put into the row it supposed to,<br>
just as if I had never written the custom event in the first place.<br>
<br>
def dropEvent(self, event):<br>
print 'Drop pos: ', event.pos()<br>
event.accept()<br>
</blockquote>
<br></div></div>
why are you trying to reimplement dropEvent? QTreeWidget has built in support for drag and drop. what is it that you can't do using the default implementation?<br>
<br>
</blockquote></div><br>