QGAL: Update header documentation in QGALPrivate
commit3320ba4f994d14d6d9fc002b9fa6d88cc49b13f7
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>
Tue, 10 Nov 2009 18:51:53 +0000 (10 15:51 -0300)
committerJason McDonald <jason.mcdonald@nokia.com>
Wed, 18 Nov 2009 03:12:10 +0000 (18 13:12 +1000)
tree56e62823d703de3c34950bf7d8505cba5884b2ab
parent30b1d4c7bf141a7b4adfb1f5dd12e8223694c12c
QGAL: Update header documentation in QGALPrivate

As part of the refactoring of the setSpacing logic, we are encoraging
the analogy between the references to QGraphicsLayoutItem and to
QGraphicsAnchor, from the AnchorData point of view.

It happens that leaf anchors (ie, those that were not created by the
simplification) either represent an item or an user-created anchor.
This means that they should fetch their size information either from
a QGraphicsLayoutItem (member AnchorData->item) or from a QGraphicsAnchor
(member AnchorData->graphicsAnchor).

Thus, I'm organizing the header to make it more consistent to
the new concept.

Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
(cherry picked from commit bf0e30ce2987a9e93369fe01ab0f01eeb1d3afdb)
src/gui/graphicsview/qgraphicsanchorlayout_p.h