<?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[Don&#x27;t apply App stylesheet to one window]]></title><description><![CDATA[<p dir="auto">I have app level stylesheet that I use in my application. The stylesheet contains styles for 9 controls (and multiple states for each one, so quite a big stylesheet). I don't want to apply it to Settings &amp; couple of other window of my app - so that they have native look. Can't figure out how to Not apply that Application stylesheet to the Settings  etc windows and its controls.</p>
<p dir="auto">Tried calling</p>
<pre><code>setStylesheet("");
</code></pre>
<p dir="auto">on window and its controls but that didn't work. Any ideas? Is it possible to apply default stylesheet to Settings window/child widgets somehow?</p>
]]></description><link>https://forum.qt.io/topic/110703/don-t-apply-app-stylesheet-to-one-window</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 06:54:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110703.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jan 2020 19:38:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Don&#x27;t apply App stylesheet to one window on Wed, 15 Jan 2020 21:10:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/572530">Don't apply App stylesheet to one window</a>:</p>
<blockquote>
<p dir="auto">You could use a <a href="https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-using-dynamic-properties" target="_blank" rel="noopener noreferrer nofollow ugc">dynamic property</a>.</p>
</blockquote>
<p dir="auto">Already using that to separate different styles of Labels</p>
]]></description><link>https://forum.qt.io/post/572534</link><guid isPermaLink="true">https://forum.qt.io/post/572534</guid><dc:creator><![CDATA[Taytoo]]></dc:creator><pubDate>Wed, 15 Jan 2020 21:10:34 GMT</pubDate></item><item><title><![CDATA[Reply to Don&#x27;t apply App stylesheet to one window on Wed, 15 Jan 2020 20:35:06 GMT]]></title><description><![CDATA[<p dir="auto">You could use a <a href="https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-using-dynamic-properties" target="_blank" rel="noopener noreferrer nofollow ugc">dynamic property</a>.</p>
]]></description><link>https://forum.qt.io/post/572530</link><guid isPermaLink="true">https://forum.qt.io/post/572530</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 15 Jan 2020 20:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to Don&#x27;t apply App stylesheet to one window on Wed, 15 Jan 2020 20:30:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/572520">Don't apply App stylesheet to one window</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">The most simple would be to ensure your stylesheet only concerns the exact widget types you want to style by being precise.</p>
</blockquote>
<p dir="auto">Thats the issue, I have so many widgets on multipole windows. It'll be too rigid of a solution to specify exact widgets - prone to breakage if I add/remove widgets or make changes to stylesheet. Is there anyother way?</p>
]]></description><link>https://forum.qt.io/post/572528</link><guid isPermaLink="true">https://forum.qt.io/post/572528</guid><dc:creator><![CDATA[Taytoo]]></dc:creator><pubDate>Wed, 15 Jan 2020 20:30:47 GMT</pubDate></item><item><title><![CDATA[Reply to Don&#x27;t apply App stylesheet to one window on Wed, 15 Jan 2020 19:44:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The most simple would be to ensure your stylesheet only concerns the exact widget types you want to style by being precise.</p>
]]></description><link>https://forum.qt.io/post/572520</link><guid isPermaLink="true">https://forum.qt.io/post/572520</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 15 Jan 2020 19:44:06 GMT</pubDate></item></channel></rss>