summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/rewriter/rewriter.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-05-29 06:54:31 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-11 07:19:22 (GMT)
commite83bed831c80657221176b9c0e24962d9c9e7ca2 (patch)
treefab4fb4a4fc4f3781d56e875412be8579e2ba119 /src/declarative/qml/rewriter/rewriter.cpp
parent2feffad511c2ea535e59221ae1b0b46c91bb8227 (diff)
downloadQt-e83bed831c80657221176b9c0e24962d9c9e7ca2.zip
Qt-e83bed831c80657221176b9c0e24962d9c9e7ca2.tar.gz
Qt-e83bed831c80657221176b9c0e24962d9c9e7ca2.tar.bz2
Introduce QGraphicsItem::ItemHasNoContents.
This flag helps optimize the case where an item is used only as a transformation node in a scene graph, and where the item itself doesn't paint anything. This is the default for FxItem (the subclasses that do paint enable the HasContents flag). This lets Graphics View know whether there's any point in setting up the world transform, opacity and other things. Reviewed-by: Lars
Diffstat (limited to 'src/declarative/qml/rewriter/rewriter.cpp')
0 files changed, 0 insertions, 0 deletions