<?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[QColorDialog.setCurrentColor doesn&#x27;t set currentColor. pyside6]]></title><description><![CDATA[<p dir="auto">my code:</p>
<pre><code>@Slot(result=str)   
    def openColorDialog(self):
        color = QColorDialog()
        color.setCurrentColor(Qt.red) 
        print(color.getColor().name())
        return ""
</code></pre>
<p dir="auto">console output:<br />
#ffffff</p>
<p dir="auto">thanks in advance</p>
]]></description><link>https://forum.qt.io/topic/134056/qcolordialog-setcurrentcolor-doesn-t-set-currentcolor-pyside6</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 23:16:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/134056.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Feb 2022 14:08:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QColorDialog.setCurrentColor doesn&#x27;t set currentColor. pyside6 on Thu, 03 Feb 2022 16:24:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a><br />
thank you<br />
i used</p>
<p dir="auto">QColorDialog.getColor(previousColor, None, "", QColorDialog.ColorDialogOptions())</p>
<p dir="auto">and now that's working well</p>
]]></description><link>https://forum.qt.io/post/701261</link><guid isPermaLink="true">https://forum.qt.io/post/701261</guid><dc:creator><![CDATA[qAminzzz]]></dc:creator><pubDate>Thu, 03 Feb 2022 16:24:49 GMT</pubDate></item><item><title><![CDATA[Reply to QColorDialog.setCurrentColor doesn&#x27;t set currentColor. pyside6 on Thu, 03 Feb 2022 14:42:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qaminzzz">@<bdi>qAminzzz</bdi></a> said in <a href="/post/701238">QColorDialog.setCurrentColor doesn't set currentColor. pyside6</a>:</p>
<blockquote>
<p dir="auto">getColor()</p>
</blockquote>
<p dir="auto">getColor() is a static method</p>
]]></description><link>https://forum.qt.io/post/701242</link><guid isPermaLink="true">https://forum.qt.io/post/701242</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 03 Feb 2022 14:42:32 GMT</pubDate></item></channel></rss>