summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicslinearlayout.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-09-22 14:57:31 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-09-22 17:09:41 (GMT)
commita8ddc56b1d80b16a3229286d7f0e02323c4203bc (patch)
tree0f930aa75fffc3c95e341e1b63ea93dba7940bd0 /src/gui/graphicsview/qgraphicslinearlayout.h
parentc9dfb50c7d718028a1d24fdf78fdb61aa61866ca (diff)
downloadQt-a8ddc56b1d80b16a3229286d7f0e02323c4203bc.zip
Qt-a8ddc56b1d80b16a3229286d7f0e02323c4203bc.tar.gz
Qt-a8ddc56b1d80b16a3229286d7f0e02323c4203bc.tar.bz2
Setting QGraphicsItem::ItemClipsChildrenToShape forces ItemClipsToShape
Problem was that setting ItemClipsChildrenToShape on an item resulted in item itself being clipped to its own shape (ItemClipsToShape). This commit also reduces state changes on the painter and re-uses the clip whenever possible, which in turn means better performance for items that clip children to shape. Auto test included. Task-number: QTBUG-12760
Diffstat (limited to 'src/gui/graphicsview/qgraphicslinearlayout.h')
0 files changed, 0 insertions, 0 deletions