Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68078

DragHandler: integrate with DnD

    XMLWordPrintable

Details

    Description

      There are two kinds: within the scene, and integrating with the operating system. So far, MouseArea handles both, and DragHandler handles neither. (You can just move an Item around within the scene, but dropping it on a DropArea doesn't do anything, and you can't drag it out of the window.)

      DropArea is of course an Item. Should we have an equivalent Handler?

      Worst case, we could have an imperative API to start the drag. (The KDE Plasma project has been getting away with that so far, by using C++ API.) But we can do better... but it needs some thought, because IMO the existing QtQuick DnD API is messy. It should be easier for app developers to work with.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes