aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2016-04-11 23:10:29 +0300
committerAlberto Mardegan <mardy@users.sourceforge.net>2016-05-07 19:08:56 +0000
commit4b982c744f538a24e21a2af146c45f93d27dd1cb (patch)
treec2c117720d27be3f1a3cc9cf546832364f2af116 /src/qml/jsruntime
parent69b7ba225007d68e113ee425ad58ce7e186a92c2 (diff)
Add imageSource property to attached Drag property
This property holds a URL which is loaded into a QPixmap via QQuickPixmap, and subsequently set on the QDrag object. This is especially important for drag and drop to external applications, where of course a QQuickItem cannot be dragged; however, combined with QQuickItem::grabToImage(), this change allows setting a QQuickItem's contents as the drag pixmap. [ChangeLog][QtQuick][Drag] Added imageSource property to attached Drag object: this allows drag sources to specify the pixmap to be drawn next to the mouse cursor when starting a drag and drop operation. Task-number: QTBUG-37366 Change-Id: Ibcf1d888c525e50976a116ec743ce6fca4c31525 Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/jsruntime')
0 files changed, 0 insertions, 0 deletions