For two QWindow W1 & W2.
Is there a way to make W2 always on top of W1?
The current method I use is to set W2 always on top by Qt::WindowStaysOnTopHint
.
But it also block the modal dialog when the dialog appear behind the window. How can I make sure W2 on top of W1 without blocking the modal dialog?
I use QWindow because W2 is a QQuickView, which is not QWidget.
I am working on windows.