diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-28 14:17:18 (GMT) |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-28 14:17:18 (GMT) |
commit | e77732c9b0c8b8313138306d723f5227cfbc124d (patch) | |
tree | cd5048827c7a6d4f5f35b43c307ff17daae8dd5e /tests/auto/qdirmodel | |
parent | 1607216cc6292ef9a4af68ce6d29dc79fffea92c (diff) | |
download | Qt-e77732c9b0c8b8313138306d723f5227cfbc124d.zip Qt-e77732c9b0c8b8313138306d723f5227cfbc124d.tar.gz Qt-e77732c9b0c8b8313138306d723f5227cfbc124d.tar.bz2 |
QGAL: set the orientation bit for complex anchors
Sets the orientation bit for complex anchors. This is being done in the
constructor, and I did a minor refactor to make the constructor of
SequentialAnchor take the list of vertices and anchors that it is
simplifying. Before that we set one of those directly in the structure
and the other via a setter function.
The tests were passing because right now, complex anchors do not use the
orientation bit, while some Normal anchors use in the refreshSizeHints()
function (to get either the width() or height() of an item).
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'tests/auto/qdirmodel')
0 files changed, 0 insertions, 0 deletions