<?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[Increase size of QFIleDIalog?]]></title><description><![CDATA[<p dir="auto">gps_file = QFileDialog::getOpenFileName(this, tr("Open File"),<br />
"/home/apaul/Downloads", tr("GPS-Files (*.txt)"),0,QFileDialog::DontUseNativeDialog);</p>
<p dir="auto">When I use this statement, is there some way to increase font size of the text that appears  in the FIle DIalog?</p>
]]></description><link>https://forum.qt.io/topic/56311/increase-size-of-qfiledialog</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 23:58:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/56311.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jul 2015 06:38:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Increase size of QFIleDIalog? on Mon, 13 Jul 2015 19:48:56 GMT]]></title><description><![CDATA[<p dir="auto">its a static function that creates its own FileDialog.<br />
but if you apply a style sheet to the parent, it does apply to it too<br />
like</p>
<pre><code> this-&gt;setStyleSheet("QTreeView {font: 16pt \"Arial\";}")
</code></pre>
<p dir="auto">there "this" is the same this as you use in the call<br />
QFileDialog::getOpenFileName(this, ......</p>
<p dir="auto">since this also affects the font size of the parent's other QTreeView ,<br />
it maybe be a good idea to restore font size after/restore stylesheet or<br />
find out the exact name of the sub control inside the QFileDialog and target that by name.</p>
]]></description><link>https://forum.qt.io/post/282234</link><guid isPermaLink="true">https://forum.qt.io/post/282234</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Mon, 13 Jul 2015 19:48:56 GMT</pubDate></item></channel></rss>