diff options
-rw-r--r-- | src/widgets/graphicsview/qgraphicslayoutitem.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/widgets/graphicsview/qgraphicslayoutitem.cpp b/src/widgets/graphicsview/qgraphicslayoutitem.cpp index 2c484321e4..67eefc14ad 100644 --- a/src/widgets/graphicsview/qgraphicslayoutitem.cpp +++ b/src/widgets/graphicsview/qgraphicslayoutitem.cpp @@ -827,12 +827,16 @@ void QGraphicsLayoutItem::updateGeometry() } /*! - * returns \c true if this item is empty, i.e whether it has no content and - * should not occupy any space. - * - * The default implementation returns true if the item has been hidden unless - * its size policy has retainSizeWhenHidden set to \c true - */ + \since 6.0 + + Returns \c true if this item is empty, i.e whether it has no content and + should not occupy any space. + + The default implementation returns \c true true if the item has been hidden, + unless its \l{sizePolicy()}{size policy} has retainSizeWhenHidden set to \c true + + \sa sizePolicy() +*/ bool QGraphicsLayoutItem::isEmpty() const { bool isHidden = false; |