aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/dragtarget/tiles/tiles.qml
Commit message (Collapse)AuthorAgeFilesLines
* Add DropArea item and Drag attached property.Andrew den Exter2011-10-101-125/+0
| | | | | | | | | | | | | | | | | | | Refactors drag API to improve compatibility with traditional drag and drop by reusing events and adding drop actions. Event sending is removed from MouseArea, instead the Drag object can be attached to the item that is dragged and it will send drag events when the position of that item is changed or when its active property changes. The DragTarget item is renamed to DropArea and can now communicate supported and suggested actions. Task-number: QTBUG-19747 Change-Id: I46cb77e68cf1ff32bbcbf0945facb593c9c2243c Reviewed-on: http://codereview.qt-project.org/4638 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix missing and outdated license headers.Jason McDonald2011-09-091-0/+40
| | | | | | Change-Id: I940ced2e84a86daabc5158d348b05b7532cb1c22 Reviewed-on: http://codereview.qt-project.org/4314 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Add a DragTarget element.Andrew den Exter2011-06-091-0/+85
Provides an area that can be used to handle events when other items are dragged over it. Task-number: QMLNG-32