<?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[How to show the widget in the dialog]]></title><description><![CDATA[<p dir="auto">Hi All,<br />
I'm using qt5.5 on my computer and Linux+QT for my OS system.</p>
<p dir="auto">I wanna show the small window that can shows some options for user to choose.</p>
<p dir="auto">And I'm doing with QDialog.<br />
This is how I designed.</p>
<pre><code>connect(ui-&gt;scan,SIGNAL(clicked()),this,SLOT(openscanwindow()));
.
.
.
.
void MainWindow::openscanwindow()
{
    QDialog *scan = new QDialog(this);
    scan-&gt;exec();
}
</code></pre>
<p dir="auto">My question is how can I show the widget in QDialog scan?</p>
<p dir="auto">Any advise or document for me to read?</p>
<p dir="auto">Thanks in Advanced!</p>
]]></description><link>https://forum.qt.io/topic/82971/how-to-show-the-widget-in-the-dialog</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 02:17:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/82971.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Sep 2017 02:54:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to show the widget in the dialog on Tue, 05 Sep 2017 20:09:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What to read ? Start with the <a href="http://doc.qt.io/qt-5/qdialog.html" target="_blank" rel="noopener noreferrer nofollow ugc">QDialog documentation</a> which provides several links to examples.</p>
]]></description><link>https://forum.qt.io/post/413794</link><guid isPermaLink="true">https://forum.qt.io/post/413794</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 05 Sep 2017 20:09:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to show the widget in the dialog on Tue, 05 Sep 2017 03:27:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor-wang">@<bdi>victor-wang</bdi></a> said in <a href="/post/413620">How to show the widget in the dialog</a>:</p>
<blockquote>
<p dir="auto">My question is how can I show the widget in QDialog scan?</p>
</blockquote>
<p dir="auto">What I understood is you want to add few number of widgets to QDialog(scan), which is nothing but setting those widgets as children of QDialog(scan).</p>
]]></description><link>https://forum.qt.io/post/413624</link><guid isPermaLink="true">https://forum.qt.io/post/413624</guid><dc:creator><![CDATA[Yashpal]]></dc:creator><pubDate>Tue, 05 Sep 2017 03:27:51 GMT</pubDate></item></channel></rss>