summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbackingstore_p.h
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-14 21:02:21 (GMT)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-14 21:02:21 (GMT)
commit916a74ef9703da783894c4a49b4897ef57cc474c (patch)
tree8b3e2fa023376d9fb74425b1f91ef567fc9a5208 /src/gui/painting/qbackingstore_p.h
parent6bd756353d1be7eadcf56f9c8415283d0d1c4cc3 (diff)
downloadQt-916a74ef9703da783894c4a49b4897ef57cc474c.zip
Qt-916a74ef9703da783894c4a49b4897ef57cc474c.tar.gz
Qt-916a74ef9703da783894c4a49b4897ef57cc474c.tar.bz2
QGraphicsAnchorLayout: use a recursive approach for size hints
Bring back the refreshSizeHints() now that we have locally the necessary information to get the size hints given an arbitrary anchor data. We also created a bit to set whether the AnchorData is an anchor of a layout (i.e. connects the layout with something else) or not. This costs one pointer more in the AnchorData, but simplifies a good deal of code and avoid traversing the graph to get this information back, so I think it's worthwhile. Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'src/gui/painting/qbackingstore_p.h')
0 files changed, 0 insertions, 0 deletions