Hello!

I am working on an application that has a custom view. I am supposed to implement Drag and Drop but I am unsure how to do this. In fact, I have implemented copy/cut and paste and it is working just fine. My copy and paste works like this: select the item for copying (putToClipboard()) and then select the target item and paste it (paste()). What I would need to do is to execute the putToClipboard() function when starting the drag and the paste() function on drop, but not moving the item itself, because the methods are taking care of the relocation and the necessary view updates. At the same time I would need to show some kind of icon to symbolize if it is possible to drop the item at a specific location. I have experimented with MouseAreas and DropAreas but was not able to achieve a satisfying result.

Is this at all possible with the QML Drag and Drop Framework?

Kind regards