[Solved] QML and Drag and Drop
-
If I change line 23 in Main.qml to have "onPressed" instead of "onPressAndHold", the application is not working properly (problem with index). Where is the problem and how to solve it?
EDIT: Adding hoverEnabled: true solved this issue. But I'm not sure whether hoverEnabled has important impact on efficiency?
-
[quote author="Deqing" date="1293608551"]Cool! I solved it by simply moving "parent: loc" into the state "active".
[/quote]I am trying the same. But items are not correctly drawn (wrong x,y) if I remove "parent: loc" from Image {id: item ... }.
Can you give us your solution, please.