diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-11-05 18:19:23 (GMT) |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-11-06 18:18:10 (GMT) |
commit | 9d89f0bd155b9eccc89eac6ff30b572795062baa (patch) | |
tree | edcc04428012db6ab9ba473e2ba1428f6cee0671 /tests/auto/qgraphicsanchorlayout | |
parent | 2906522845d3ce9723b978b8b1490dfc9b9008f0 (diff) | |
download | Qt-9d89f0bd155b9eccc89eac6ff30b572795062baa.zip Qt-9d89f0bd155b9eccc89eac6ff30b572795062baa.tar.gz Qt-9d89f0bd155b9eccc89eac6ff30b572795062baa.tar.bz2 |
QGAL: allow parallel anchors simplify center anchors
This commit make possible to parallelize anchors that are center
anchors, i.e. that have extra constraints (stored in
itemCenterConstraints).
This is trivial to support since the parallel anchor will have the same
size as its children, so it can just "take the place" of its children in
the constraints. Restore function was added as well.
To manipulate internal structures, relevant static functions were
promoted to methods.
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout')
0 files changed, 0 insertions, 0 deletions