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

DragHandler: integrate with DnD

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated: