qtdeclarative/tests/auto/quick
Chris Meyer 391459210d Add support for external drag and drop in Quick items.
Add dragType enums with values of None, Automatic, Internal (default).
Setting to Automatic allows startDrag to be called automatically.
Setting to Internal (default) retains old behavior.

Add mimeData to Drag item to enable external drags.

Call startDrag to start drag manually or change from internal drag to
external drag. Added events dragStarted and dragFinished that get
invoked from startDrag.

Mime data must be specified in the mimeData property as
mime-type / data pairs.

Moved QQuickDrag from qquickmousearea* files to qquickdrag* files to
reduce header interdependencies that caused linking errors in other
modules and also to improve code organization.

Allow DropArea to receive and process external data.

Introduced new variable containsDrag to QQuickDropAreaPrivate. This
replaces mimeData which was previously being used to determine if a
drop operation was currently occurring. The problem was that mimeData
was being externally destructed.

Also introduced accessor methods for getting color, html, image, text,
and urls out of the drop. This facilitates dropping of external data of
those types onto a DropArea.

Added example quick/externaldraganddrop.

Task-number: QTBUG-27498
Change-Id: I1420df7c161ea3399e49a23305273e106baa246f
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
2013-09-09 22:58:45 +02:00
..
dialogs Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into merge 2013-07-26 11:52:32 +02:00
examples Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into wip/v4 2013-07-22 13:43:43 +02:00
geometry
nodes New scenegraph renderer and atlas textures. 2013-09-02 14:24:36 +02:00
qquickaccessible Accessibility: Adapt memory management for Qt 5.1 2013-03-05 15:27:50 +01:00
qquickanchors Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into merge 2013-07-26 11:52:32 +02:00
qquickanimatedimage Stabilize tst_qquickanimatedimage::mirror_notRunning() 2013-06-04 10:52:15 +02:00
qquickanimatedsprite emit runningChanged when AnimatedSprite stops by loops settings 2013-06-22 05:06:22 +02:00
qquickanimationcontroller
qquickanimations Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickapplication
qquickbehaviors Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickborderimage Improve timer dependent tests. 2013-03-11 22:16:36 +01:00
qquickcanvasitem Support multiple quoted font families in Context2D font property. 2013-08-05 14:31:03 +02:00
qquickdrag Fix tst_QQuickDrag::recursion() 2013-07-29 16:04:27 +02:00
qquickdroparea
qquickdynamicpropertyanimation
qquickflickable Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickflipable Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickfocusscope
qquickfontloader
qquickgridview Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickimage Fix crash when changing non-cached source of image during animation 2013-08-01 18:45:59 +02:00
qquickimageprovider fix case insensitive issue with image provider id 2013-06-18 11:05:18 +02:00
qquickitem Remove insignification of the test on Windows. 2013-09-06 17:42:10 +02:00
qquickitem2 Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into wip/v4 2013-07-22 13:43:43 +02:00
qquickitemlayer Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquicklistview Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickloader Mark tests tst_qquickloader as insignificant due to random failures 2013-07-02 09:51:10 +02:00
qquickmousearea Add support for external drag and drop in Quick items. 2013-09-09 22:58:45 +02:00
qquickmultipointtoucharea Autotests w CONFIG+=parallel_test don't depend on activation or focus 2013-03-04 19:47:38 +01:00
qquickpainteditem Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickpath Merge "Merge branch 'stable' into dev" into refs/staging/dev 2013-08-06 18:26:47 +02:00
qquickpathview Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickpincharea PinchArea autotest doesn't depend on window activation; QScopedPointer 2013-03-04 19:47:38 +01:00
qquickpixmapcache Improve timer dependent tests. 2013-03-11 22:16:36 +01:00
qquickpositioners Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickrectangle
qquickrepeater Fix crash in repeater when model gets deleted 2013-04-18 13:54:45 +02:00
qquickscreen
qquickshadereffect
qquicksmoothedanimation Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickspringanimation Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickspritesequence
qquickstates Fix compilation with built-in v4vm JS engine 2013-04-15 13:03:20 +02:00
qquickstyledtext
qquicksystempalette
qquicktext Merge "Merge branch 'stable' into dev" into refs/staging/dev 2013-08-06 18:26:47 +02:00
qquicktextdocument
qquicktextedit Merge remote-tracking branch 'origin/stable' into dev 2013-08-19 09:47:35 +02:00
qquicktextinput Merge "Merge branch 'stable' into dev" into refs/staging/dev 2013-08-06 18:26:47 +02:00
qquickview Fix tst_qquickview for full screen platforms 2013-07-18 21:37:32 +02:00
qquickvisualdatamodel Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into wip/v4 2013-07-22 13:43:43 +02:00
qquickwindow Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
qquickxmllistmodel Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into wip/v4 2013-07-22 13:43:43 +02:00
rendernode Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
shared Merge branch 'stable' into dev 2013-09-06 10:11:04 +02:00
touchmouse Merge remote-tracking branch 'origin/stable' into dev 2013-08-19 09:47:35 +02:00
quick.pro QtQuick.Dialogs: use URLs for interface with QPlatformFileDialogHelper 2013-07-22 16:45:01 +02:00