<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python GUIs - qpalette</title><link>https://www.pythonguis.com/</link><description>Create GUI applications with Python and Qt</description><atom:link href="https://www.pythonguis.com/feeds/qpalette.tag.rss.xml" rel="self"/><lastBuildDate>Tue, 24 Nov 2020 09:00:00 +0000</lastBuildDate><item><title>How to Use System Default Colors in Qt Stylesheets — Access your user's color scheme to keep your app looking native</title><link>https://www.pythonguis.com/faq/setstylesheet-get-colour-from-default-scheme/</link><description>I'm trying to set the background color of a widget to a "default" system color using &lt;code&gt;setStyleSheet()&lt;/code&gt;. I don't want to hard-code a specific color, because if the user changes their color scheme it could look weird or unreadable. Is there a set of default colors provided by the chosen color scheme?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Fitzpatrick</dc:creator><pubDate>Tue, 24 Nov 2020 09:00:00 +0000</pubDate><guid>tag:www.pythonguis.com,2020-11-24:/faq/setstylesheet-get-colour-from-default-scheme/</guid><category>pyqt6</category><category>stylesheets</category><category>colors</category><category>qpalette</category><category>theming</category><category>python</category><category>qt</category><category>qt6</category></item></channel></rss>