Doc: Add a note about a limitation in QDockWidget on macOS
Change-Id: I3599304d2dab9a6e64f110644b22e65494f3c0a8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit e5aada1ba7133dedc7ec00e67c5cca68186b738d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f8238c302f
commit
f09f330ea6
@ -1233,6 +1233,11 @@ void QDockWidgetPrivate::setWindowState(bool floating, bool unplug, const QRect
|
|||||||
on whether it is docked; a docked QDockWidget has no frame and a smaller title
|
on whether it is docked; a docked QDockWidget has no frame and a smaller title
|
||||||
bar.
|
bar.
|
||||||
|
|
||||||
|
\note On macOS, if the QDockWidget has a native window handle (for example,
|
||||||
|
if winId() is called on it or the child widget), then due to a limitation it will not be
|
||||||
|
possible to drag the dock widget when undocking. Starting the drag will undock
|
||||||
|
the dock widget, but a second drag will be needed to move the dock widget itself.
|
||||||
|
|
||||||
\sa QMainWindow, {Dock Widgets Example}
|
\sa QMainWindow, {Dock Widgets Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user