QDockWidget: Clarify documentation of floating property
QDockWidget::isFloating() returns true for single, floating dock widgets. It returns false, if the dock widget is part of a floating tab (i.e. it is a QDockWidgetGroupWindow child). => Clarify documentation. Pick-to: 6.5 Change-Id: I3c5a4a86b89dcb001e7561de7dcc604bae0d9cee Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 92b5992a29e6a5463200157ab9934fae9a3ec8cb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 40cd1049a6993db76d4b3ffb5fe6b48122b2c683)
This commit is contained in:
parent
3bc39a6026
commit
4a598c7908
@ -1449,9 +1449,12 @@ QDockWidget::DockWidgetFeatures QDockWidget::features() const
|
||||
\property QDockWidget::floating
|
||||
\brief whether the dock widget is floating
|
||||
|
||||
A floating dock widget is presented to the user as an independent
|
||||
window "on top" of its parent QMainWindow, instead of being
|
||||
docked in the QMainWindow.
|
||||
A floating dock widget is presented to the user as a single, independent
|
||||
window "on top" of its parent QMainWindow, instead of being docked
|
||||
either in the QMainWindow, or in a group of tabbed dock widgets.
|
||||
|
||||
Floating dock widgets can be individually positioned and resized, both
|
||||
programmatically or by mouse interaction.
|
||||
|
||||
By default, this property is \c true.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user