I came across a nice little declarative drag-drop at that Grégory Schlomoff wrote; it really helped a prototyping effort last year.
See https://bitbucket.org/gregschlom/qml-drag-drop/src/0d430d66ceb6/DeclarativeDragArea.cpp. Cheers, R. From: [email protected] [mailto:[email protected]] On Behalf Of ext merve t Sent: Thursday, August 18, 2011 8:13 AM To: [email protected] Subject: [Qt-qml] An item to be notified when another item dragged into it Hello, I want to drag one rectangle(rect1) onto another(rect2). I want rect1 to move with dragging. Also i want rect2 to be notified when rect1 come onto it. Do i want too much? Should i use QMimeData for communication, is it needed even tough i do not want to pass any data? Thanks for any idea.
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
