path: root/src
diff options
authorSergio Martins <>2016-10-21 19:41:44 +0100
committerSérgio Martins <>2016-11-02 10:39:39 +0000
commitc5010107221ce1ba8dd08f2067c7921389baa96b (patch)
tree7709d29f6d6ff11d2bf4a922843051a70f7039a7 /src
parentdcedce51a62ae9519d8e85c004c2f93159be8751 (diff)
Mention QDialog::setSizeGripEnabled() in QSizeGrip's docs
The same way it also mentions QStatusBar. Change-Id: Ic084466310c989d1a79ba5ba21d6784acaa38e6e Reviewed-by: Martin Smith <>
Diffstat (limited to 'src')
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/widgets/qsizegrip.cpp b/src/widgets/widgets/qsizegrip.cpp
index b2ffef2a5a..5cacff7e0d 100644
--- a/src/widgets/widgets/qsizegrip.cpp
+++ b/src/widgets/widgets/qsizegrip.cpp
@@ -178,9 +178,12 @@ Qt::Corner QSizeGripPrivate::corner() const
Put this widget anywhere in a widget tree and the user can use it
to resize the top-level window or any widget with the Qt::SubWindow
flag set. Generally, this should be in the lower right-hand corner.
Note that QStatusBar already uses this widget, so if you have a
status bar (e.g., you are using QMainWindow), then you don't need
- to use this widget explicitly.
+ to use this widget explicitly. The same goes for QDialog, for which
+ you can just call \l {QDialog::setSizeGripEnabled()}
+ {QDialog::setSizeGripEnabled()}.
On some platforms the size grip automatically hides itself when the
window is shown full screen or maximised.