diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-12 12:39:44 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-14 18:10:01 +0200 |
commit | 5c097f895d73a80c8ff5b401100e25c4b5f69eeb (patch) | |
tree | d27e09b0941ea1e216353842ff9cceebd69f354b | |
parent | 51faa0700d18b1235da791dff226faffeafa9f84 (diff) |
Add \since 6.0 to new function
Also fix general style of the documentation.
Task-number: QTBUG-86479
Change-Id: Ia46bb3ec02d6474dd79b8ac733e0c613abc5e0d8
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
-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; |