diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-09-22 14:57:31 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-09-22 17:09:41 (GMT) |
commit | a8ddc56b1d80b16a3229286d7f0e02323c4203bc (patch) | |
tree | 0f930aa75fffc3c95e341e1b63ea93dba7940bd0 /src/gui/graphicsview/qgraphicslinearlayout.h | |
parent | c9dfb50c7d718028a1d24fdf78fdb61aa61866ca (diff) | |
download | Qt-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