Document that dialog parent relationship does not imply stacking order
On macOS, and most probably some X11 window managers, the parent/child relationship of the dialog is not possible to propagate to the platform, and the only determining factor of whether or not the windows stack on top of each other is the modal state of the window. Task-number: QTBUG-34767 Change-Id: I8b4b4910e3f905c44e577544fc347dbded373848 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>bb10
parent
4eda22ea0d
commit
7a127fb4b6
|
|
@ -246,6 +246,13 @@ void QDialogPrivate::deletePlatformHelper()
|
|||
window-system properties for the widget (in particular it will
|
||||
reset the Qt::Dialog flag).
|
||||
|
||||
\note The parent relationship of the dialog does \e{not} imply
|
||||
that the dialog will always be stacked on top of the parent
|
||||
window. To ensure that the dialog is always on top, make the
|
||||
dialog modal. This also applies for child windows of the dialog
|
||||
itself. To ensure that child windows of the dialog stay on top
|
||||
of the dialog, make the child windows modal as well.
|
||||
|
||||
\section1 Modal Dialogs
|
||||
|
||||
A \b{modal} dialog is a dialog that blocks input to other
|
||||
|
|
|
|||
Loading…
Reference in New Issue