<?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 fix the QPalette QSTYLE problem?]]></title><description><![CDATA[<p dir="auto">I put the code below into the project.</p>
<pre><code>QPalette{background:#D4D4D4;}*{outline:0px;}
</code></pre>
<p dir="auto">That when i used the qcombox ,the selection background becamed the dark color.Whatever I inputting the qstyle of the qcombox,it seemed unuseful.</p>
<p dir="auto">And I dont know why.</p>
]]></description><link>https://forum.qt.io/topic/142893/how-fix-the-qpalette-qstyle-problem</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 22:09:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142893.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Feb 2023 03:17:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How fix the QPalette QSTYLE problem? on Wed, 15 Feb 2023 12:07:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nicker-player">@<bdi>nicker-player</bdi></a><br />
I know why the background is dark color.<br />
Cause I used the<br />
{background:transparent;}<br />
qstyle code.How to prevent the parent widget influenced the child qcombobox by using the code "background:transparent;"<br />
By using the code QComboBox{background-color:white;} seemed unuseful.</p>
]]></description><link>https://forum.qt.io/post/747739</link><guid isPermaLink="true">https://forum.qt.io/post/747739</guid><dc:creator><![CDATA[nicker player]]></dc:creator><pubDate>Wed, 15 Feb 2023 12:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to How fix the QPalette QSTYLE problem? on Tue, 14 Feb 2023 11:31:26 GMT]]></title><description><![CDATA[<p dir="auto">Was that a bug ?<br />
Only if i use the qformlayout add the row of the qcombox,the qocombox selection part became the dark color.<br />
If i used the qvboxlayout something else,the qcombox became normally.</p>
]]></description><link>https://forum.qt.io/post/747581</link><guid isPermaLink="true">https://forum.qt.io/post/747581</guid><dc:creator><![CDATA[nicker player]]></dc:creator><pubDate>Tue, 14 Feb 2023 11:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to How fix the QPalette QSTYLE problem? on Mon, 13 Feb 2023 11:46:56 GMT]]></title><description><![CDATA[<p dir="auto">only one of the object came the style likes this.Others were normal.<br />
Please help me.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/2deb792b-4cf9-4e81-857f-b2ca85c98be1.png" alt="1c469648-6f56-49a9-b270-142ae2ea6424-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/747429</link><guid isPermaLink="true">https://forum.qt.io/post/747429</guid><dc:creator><![CDATA[nicker player]]></dc:creator><pubDate>Mon, 13 Feb 2023 11:46:56 GMT</pubDate></item></channel></rss>