summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-05-06 15:56:28 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-05-07 15:44:16 +0000
commite374ffc29c67493a51527117b55a53dfa5dd4267 (patch)
treeaf87420445a74fe2128dff254e2e1ceabf93448b /src/widgets
parent07af5bfcea7f92b1cf309be5e22f3f0e53e83ca1 (diff)
QSizePolicy: improve docs of retainSizeWhenHidden
Fixed markup and grammar. Change-Id: Ie2427965f905135572fd1f81e4a6d7514dea7022 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/kernel/qsizepolicy.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/kernel/qsizepolicy.cpp b/src/widgets/kernel/qsizepolicy.cpp
index ba57a4f867..1476b4c5d7 100644
--- a/src/widgets/kernel/qsizepolicy.cpp
+++ b/src/widgets/kernel/qsizepolicy.cpp
@@ -386,7 +386,8 @@ void QSizePolicy::setControlType(ControlType type)
\fn void QSizePolicy::retainSizeWhenHidden() const
\since 5.2
- Returns if the layout should retain the widgets size when it is hidden. This is by default false.
+ Returns whether the layout should retain the widget's size when it is hidden.
+ This is \c false by default.
\sa setRetainSizeWhenHidden()
*/
@@ -395,8 +396,8 @@ void QSizePolicy::setControlType(ControlType type)
\fn void QSizePolicy::setRetainSizeWhenHidden(bool retainSize)
\since 5.2
- Set if a layout should retain the widgets size when it is hidden.
- If \a retainSize is true the layout will not be changed by hiding the widget.
+ Sets whether a layout should retain the widget's size when it is hidden.
+ If \a retainSize is \c true, the layout will not be changed by hiding the widget.
\sa retainSizeWhenHidden()
*/