diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-09-25 22:35:25 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-10-06 09:28:53 (GMT) |
commit | 0536b996759ef367e784310f472089eec583213f (patch) | |
tree | 3e858c6c65ff63ff6d5486c6dbc8d95b50171e23 /tests/auto/qgraphicsanchorlayout | |
parent | ba66cc0bde91e1143ac0a34f249f98e4573a5737 (diff) | |
download | Qt-0536b996759ef367e784310f472089eec583213f.zip Qt-0536b996759ef367e784310f472089eec583213f.tar.gz Qt-0536b996759ef367e784310f472089eec583213f.tar.bz2 |
QGraphicsAnchorLayout: Add support for expanding SizePolicy with simplification
Updating "refreshSizeHints" and "updateChildrenSizes" methods for standard,
parallel and sequential anchors, in order to support the expanding SizePolicy
flag.
This adds the logic required to calculate equivalent expected/nominal expanding
size (AnchorData::expSize) as well as the logic to propagate the effective
size when in the expanding state (AnchorData::sizeAtExpected).
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