diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-08-14 21:02:21 (GMT) |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-08-14 21:02:21 (GMT) |
commit | 916a74ef9703da783894c4a49b4897ef57cc474c (patch) | |
tree | 8b3e2fa023376d9fb74425b1f91ef567fc9a5208 /dist/changes-2.00beta2 | |
parent | 6bd756353d1be7eadcf56f9c8415283d0d1c4cc3 (diff) | |
download | Qt-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 'dist/changes-2.00beta2')
0 files changed, 0 insertions, 0 deletions