diff options
| author | Paul Wicking <paul.wicking@qt.io> | 2025-11-05 20:46:44 +0100 |
|---|---|---|
| committer | Paul Wicking <paul.wicking@qt.io> | 2025-11-06 16:23:11 +0100 |
| commit | aa1fedb3f21284ba0abe0b9868962fcbc641d351 (patch) | |
| tree | 3da49ce7139007b1aa3bbe52d7a37bb344b5f322 /src/widgets/kernel/qlayout.cpp | |
| parent | 0d4f9625f6873c82ff463ae77a97b6ec9f81ab4a (diff) | |
Doc: Add missing property docs
Task-number: QTBUG-140629
Change-Id: I8e032655d6a211c042d86baa8bab27cc0b34cb9f
Reviewed-by: David Boddie <david.boddie@qt.io>
Diffstat (limited to 'src/widgets/kernel/qlayout.cpp')
| -rw-r--r-- | src/widgets/kernel/qlayout.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/widgets/kernel/qlayout.cpp b/src/widgets/kernel/qlayout.cpp index 00f9766af29..5ba92714f6c 100644 --- a/src/widgets/kernel/qlayout.cpp +++ b/src/widgets/kernel/qlayout.cpp @@ -345,6 +345,17 @@ void QLayout::getContentsMargins(int *left, int *top, int *right, int *bottom) c } /*! + \property QLayout::contentsMargins + \since 4.6 + \brief the margins used around the layout + + By default, QLayout uses the values provided by the style. On + most platforms, the margin is 11 pixels in all directions. + + \sa setContentsMargins(), getContentsMargins() +*/ + +/*! \since 4.6 Returns the margins used around the layout. |
