Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Stopping QDrag



  • I have an application where I need to stop an active drag.
    The Drag & Drop works just fine, but I need to be able to stop it while dragging the content in case a custom event arrives.
    So far I've tried to manually send a keypress event to the QDrag object, to the application, to the widget the drag is started in (pressing escape while dragging stops the d&d) but it does not work.

    Any help is appreciated



  • Any solution you found. I also tried same with no luck.


  • Moderators

    Hi,

    This is a very old thread. Try posting in new thread instead.


Log in to reply