<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MDI: QDialog modality locks Application instead parent QMdiSubWindow only]]></title><description><![CDATA[<p dir="auto">Hi!<br />
I need to work with QMdiSubWindow example even if another is lock at this time.<br />
My app inheritance structure:</p>
<p dir="auto">MainWindow<br />
-- QMdiArea<br />
----QMdiSubWindow<br />
--------MyWidget (QWidget)<br />
------------MyDialog (QDialog)</p>
<p dir="auto">MyDialog shows only when user have to wait. MyDialog is a my own analogue of QProgressDialog.<br />
MyDialog flags: Qt::FramelessWindowHint, Qt::CustomizeWindowHint, Qt::SubWindow, Qt::Tool.</p>
<p dir="auto">Problems:</p>
<ol>
<li>If i don't set a modality, user has availability to move this subwindow and MyDialog will stay at old position as a result.</li>
<li>MyDialog and MyWidget doesn't recieve move event if i move its QMdiSubWindow</li>
<li>If i set WindowModality for MyDialog, an application will be locked, not a QMdiSubwindow.</li>
</ol>
<p dir="auto">Thanks for any advice.</p>
]]></description><link>https://forum.qt.io/topic/158215/mdi-qdialog-modality-locks-application-instead-parent-qmdisubwindow-only</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 11:25:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/158215.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Aug 2024 11:05:24 GMT</pubDate><ttl>60</ttl></channel></rss>