[Interest] Know if a drag/drop is in progress

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Mon Sep 2 09:10:19 CEST 2013


Hi,

Is there any way to know if a drag is in progress during a mouseMoveEvent?

I used the example found in the documentation to implement dragging only
after the user moved the mouse on a minium distance. However, this creates
and execs multiple QDrag when the user continues moving the mouse.

Do I need to use a global flag to know if a drag is in progress?? It seems
there is no other way to do, which is weird.

Thanks,

Etienne (Qt 4.8.1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130902/e0d525da/attachment.html>


More information about the Interest mailing list