summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicswidget_p.h
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-17 22:52:17 (GMT)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-18 04:24:36 (GMT)
commita5a925748ff3893e4acf2d41bd8aee0d11a3285a (patch)
tree63bbe23c3f811fd6ab738f42091a54bad125ebf7 /src/gui/graphicsview/qgraphicswidget_p.h
parentf127c4708db2f6825d7b37b9aa5dec52f9ee989c (diff)
downloadQt-a5a925748ff3893e4acf2d41bd8aee0d11a3285a.zip
Qt-a5a925748ff3893e4acf2d41bd8aee0d11a3285a.tar.gz
Qt-a5a925748ff3893e4acf2d41bd8aee0d11a3285a.tar.bz2
QGraphicsAnchorLayout: fix calculation of sizeAt* values for Sequential
This commit implements what's described in the previous commit QGraphicsAnchorLayout: fix expected values for parallel test When filling the sizeAt* values (the three points used for interpolation when setting geometry), now sequential anchors distribute the sizes to the children in a fair way, i.e. proportionally in relation to the existing min/pref/max hints. Each value is defined in relation of the pref (either as a shrinkage in pref or a grow in pref). In both cases the shrinking/growing factor is the same for all children. When we implement support for QSizePolicies, this distribution might be changed by setting size policies for a certain item or anchor. This makes two tests work -- so no more expected fail. Also fixed a typo in one test's expected results.
Diffstat (limited to 'src/gui/graphicsview/qgraphicswidget_p.h')
0 files changed, 0 insertions, 0 deletions