Is there a way to find out whether a drag operation is going on on top of a widget? It's easy if it's started on that same widget, but if the drag comes from another widget it's not so easy. The drag will be stopped when it's dropped, but I didn't find an easy way to detect whether it has been canceled. It's possible to catch the ESC key event but I think it's not guaranteed to be the only way to cancel drag.
I have a paint event which does different thing while dragging. The code detecting drag is quite complicated already and it doesn't work reliably.
Bookmarks