<?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[Modeless dialog]]></title><description><![CDATA[<p dir="auto">If I have understood the docs correctly a modeless dialog has its own event loop. Does that mean that it is effectively running in a separate thread? If so, should signals be connected as Qt::QueuedConnection?</p>
]]></description><link>https://forum.qt.io/topic/163880/modeless-dialog</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 03:40:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163880.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Dec 2025 12:04:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modeless dialog on Wed, 10 Dec 2025 11:45:30 GMT]]></title><description><![CDATA[<p dir="auto">Understood. Thanks.</p>
]]></description><link>https://forum.qt.io/post/834483</link><guid isPermaLink="true">https://forum.qt.io/post/834483</guid><dc:creator><![CDATA[Buller]]></dc:creator><pubDate>Wed, 10 Dec 2025 11:45:30 GMT</pubDate></item><item><title><![CDATA[Reply to Modeless dialog on Mon, 08 Dec 2025 14:23:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/buller">@<bdi>Buller</bdi></a> said in <a href="/post/834393">Modeless dialog</a>:</p>
<blockquote>
<p dir="auto">Does that mean that it is effectively running in a separate thread?</p>
</blockquote>
<p dir="auto">No.<br />
Event loop != thread<br />
The whole Qt GUI is single threaded only and Qt GUI elements must only be accessed from the "main" GUI thread... the thread of your program where the <code>QApplication</code> was created.</p>
<blockquote>
<p dir="auto">If so, should signals be connected as Qt::QueuedConnection?</p>
</blockquote>
<p dir="auto">No, you can omit the fifth argument anyway since Qt will pick the right one for you  (between <code>Qt::DirectConnection</code> and <code>Qt::QueuedConnection</code>) in most cases.</p>
]]></description><link>https://forum.qt.io/post/834401</link><guid isPermaLink="true">https://forum.qt.io/post/834401</guid><dc:creator><![CDATA[Pl45m4]]></dc:creator><pubDate>Mon, 08 Dec 2025 14:23:13 GMT</pubDate></item></channel></rss>