I am not in front of a computer right now, but I thought the itemview's 
viewport() was what handled drag/drop events. Have you tried installing an 
event filter on the view that handles drop events for the viewport?





On Thursday, February 13, 2020 at 8:44:49 PM UTC-8, Dilen Shah wrote:
>
> Hey Justin,
>
> Sorry about the confusion, looks like i pasted the wrong code.
> This is what i wanted to paste: https://pastebin.com/8vxb3h9n
>
> So my only issue currently is that when i move/re-order QTreeWidget i am 
> not getting any prints from the dropEvent or dragEnterEvent.
> Can't seem to figure it out why it's not firing. Currently i am only 
> looking to make the re-order event work.
>
> Hope this makes sense.
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9f589df1-9e59-413f-8a81-8c845b44503e%40googlegroups.com.

Reply via email to