Say hello to QQuickItem::grabToImage().
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Mon, 28 Apr 2014 11:30:04 +0000 (13:30 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 May 2014 20:13:11 +0000 (22:13 +0200)
commit0cb12e9e01b8309320706fab219945f0ff159413
tree15e7e7986b8abf7b1cc81406dd8edc68ef842dae
parentef5a68dfa19bbdb588e9061ed788b805fc3155e1
Say hello to QQuickItem::grabToImage().

[ChangeLog][QtQuick][Item] Added functions QQuickItem::grabToImage()
and Item::grabToImage() to allow grabbing of items into
system-memory images.

Change-Id: I76cd73bb62f7440569c6fce63d63528559845721
Reviewed-by: Michael Brasser <michael.brasser@live.com>
src/quick/doc/snippets/qml/itemGrab.qml [new file with mode: 0644]
src/quick/items/items.pri
src/quick/items/qquickitem.h
src/quick/items/qquickitemgrabresult.cpp [new file with mode: 0644]
src/quick/items/qquickitemgrabresult.h [new file with mode: 0644]
src/quick/items/qquickitemsmodule.cpp
src/quick/util/qquickpixmapcache.cpp
src/quick/util/qquickpixmapcache_p.h
tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml [new file with mode: 0644]
tests/auto/quick/qquickitem2/data/grabToImage.qml [new file with mode: 0644]
tests/auto/quick/qquickitem2/tst_qquickitem.cpp