Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Stopping QDrag
Qt 6.11 is out! See what's new in the release blog

Stopping QDrag

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Honc
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      Yash
      wrote on last edited by
      #2

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

      http://kineticwing.com : Web IDE, QSS Editor
      http://speedovation.com : Development Lab

      1 Reply Last reply
      0
      • p3c0P Offline
        p3c0P Offline
        p3c0
        Moderators
        wrote on last edited by
        #3

        Hi,

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

        157

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved