summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraphicslayout.cpp
diff options
context:
space:
mode:
authorTeemu Katajisto <teemu.katajisto@digia.com>2012-02-08 13:42:41 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-09 12:51:57 +0100
commit7aca5aa910f610239c7d33696003d100e558d45a (patch)
tree84504e6c765a141717d002fdaee87a3840d2765a /src/widgets/graphicsview/qgraphicslayout.cpp
parent651016020f9ac996f2aac50e2d30505bdffe2331 (diff)
Various documentation fixes ported from 4.8
Selected documentation fixes for qtbase from 4.8 commit 40fb4750910e23d3e7128ca8e0f1c5920b05bd5a Task-number: QTBUG-8625 Task-number: QTBUG-19808 Task-number: QTBUG-1231 Task-number: QTBUG-21073 Task-number: QTBUG-8939 Task-number: QTBUG-20399 Task-number: QTBUG-20944 Task-number: QTBUG-22095 Task-number: QTBUG-11278 Task-number: QTBUG-15653 Change-Id: Ia4f59fce7c85f04b6da953a3988f705d9d9a658a Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicslayout.cpp')
-rw-r--r--src/widgets/graphicsview/qgraphicslayout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicslayout.cpp b/src/widgets/graphicsview/qgraphicslayout.cpp
index cec5ba57a3..63f04f67bc 100644
--- a/src/widgets/graphicsview/qgraphicslayout.cpp
+++ b/src/widgets/graphicsview/qgraphicslayout.cpp
@@ -103,6 +103,10 @@ QT_BEGIN_NAMESPACE
any way, but for a linear layout, the order is essential. When writing your own
layout subclass, you are free to choose the API that best suits your layout.
+ QGraphicsLayout provides the addChildLayoutItem() convenience function to add
+ layout items to a custom layout. The function will automatically reparent
+ graphics items, if required.
+
\section1 Activating the Layout
When the layout's geometry changes, QGraphicsLayout immediately rearranges