import QtQuick 2.0 ListView { width: 400; height: 400 model: 2 delegate: Text { text: index color: mouseArea.containsMouse ? "blue" : "black" font.pixelSize: 100 MouseArea { id: mouseArea hoverEnabled: true anchors.fill: parent drag.target: parent } Drag.active: mouseArea.drag.active Drag.dragType: Drag.Automatic Drag.mimeData: {'text/plain': 'text' + index} } Rectangle{//drop target width: 100; height: 100 color: 'green' anchors.bottom: parent.bottom opacity: dropArea.containsDrag? 0.1: 0.5 DropArea{ id: dropArea anchors.fill: parent onDropped: print('onDropped', drop.text) } } }