summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-08-19 01:48:56 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-08-19 01:48:56 (GMT)
commit56ccc5fdf6e2136df9c97b3ecdf7d1003549b546 (patch)
tree473497ff5b4c01fcd9041664297918b6f5ab9567 /src
parent5251ff993bdc1cdb94847c4223b348205b4d49a1 (diff)
downloadQt-56ccc5fdf6e2136df9c97b3ecdf7d1003549b546.zip
Qt-56ccc5fdf6e2136df9c97b3ecdf7d1003549b546.tar.gz
Qt-56ccc5fdf6e2136df9c97b3ecdf7d1003549b546.tar.bz2
These docs shouldn't have been removed
Still ought to have the docs that explain how to subclass QFxBasePositioner effectively, at least for internal reference.
Diffstat (limited to 'src')
-rw-r--r--src/declarative/fx/qfxpositioners.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxpositioners.cpp b/src/declarative/fx/qfxpositioners.cpp
index a164f67..1eb88fe 100644
--- a/src/declarative/fx/qfxpositioners.cpp
+++ b/src/declarative/fx/qfxpositioners.cpp
@@ -56,6 +56,19 @@ QT_BEGIN_NAMESPACE
\internal
\class QFxBasePositioner
\ingroup group_layouts
+ \brief The QFxBasePositioner class provides a base for QFx layouts.
+
+ To create a QFx Positioner, simply subclass QFxBasePositioner and implement
+ doLayout(), which is automatically called when the layout might need
+ updating.
+
+ It is strongly recommended that in your implementation of doLayout()
+ that you use the move, remove and add transitions when those conditions
+ arise. You can use the applyAdd, applyMove and applyRemove functions
+ to do this easily.
+
+ Note also that the subclass is responsible for adding the
+ spacing in between items.
*/
QFxBasePositioner::QFxBasePositioner(AutoUpdateType at, QFxItem *parent)
: QFxItem(*(new QFxBasePositionerPrivate), parent)