Qt 6.12 LTS is out! See what's new in the release
blog
MDI: QDialog modality locks Application instead parent QMdiSubWindow only
-
Hi!
I need to work with QMdiSubWindow example even if another is lock at this time.
My app inheritance structure:MainWindow
-- QMdiArea
----QMdiSubWindow
--------MyWidget (QWidget)
------------MyDialog (QDialog)MyDialog shows only when user have to wait. MyDialog is a my own analogue of QProgressDialog.
MyDialog flags: Qt::FramelessWindowHint, Qt::CustomizeWindowHint, Qt::SubWindow, Qt::Tool.Problems:
- If i don't set a modality, user has availability to move this subwindow and MyDialog will stay at old position as a result.
- MyDialog and MyWidget doesn't recieve move event if i move its QMdiSubWindow
- If i set WindowModality for MyDialog, an application will be locked, not a QMdiSubwindow.
Thanks for any advice.