diff options
Diffstat (limited to 'src/widgets/graphicsview/qgraphicslayout.cpp')
-rw-r--r-- | src/widgets/graphicsview/qgraphicslayout.cpp | 4 |
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 |