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

DragHandler: integrate with DnD

    XMLWordPrintable

Details

    • 4506b936b (dev), 899b8baef (6.8), 76ecedaf6 (6.7), 56eacc22e (tqtc/lts-6.5), 3b46bea49 (tqtc/lts-6.2), 2968e444a (tqtc/lts-5.15)

    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

          For Gerrit Dashboard: QTBUG-68078
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated: