Dear,
There is a way to detect which is the object that is dragged and dropped.
In my specific case I have a QTreeWIdget that allows drag and drop actions only for top level items. I want to be always able to make an ordered list of the top level elements. So if a drag and drop action happened I have to catch it!
I was thinking to reimplement dragEnterEvent ( QDragEnterEvent * ) and dropEvent ( QDropEvent * ). Is it correct? or does exist another way to do that that now I cannot see?
Thanks
Annalisa
P.S let me know if you cannot understand the problem, I'll re-explain it better!
Bookmarks