<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python GUIs - qprogressbar</title><link>https://www.pythonguis.com/</link><description>Create GUI applications with Python and Qt</description><atom:link href="https://www.pythonguis.com/feeds/qprogressbar.tag.rss.xml" rel="self"/><lastBuildDate>Wed, 24 Mar 2021 09:00:00 +0000</lastBuildDate><item><title>Change color in QProgressBar delegate — How to dynamically change QProgressBar colors in a QTableView delegate</title><link>https://www.pythonguis.com/faq/change-color-in-qprogressbar-delegate/</link><description>How can I change the color of a QProgressBar delegate in a QTableView when a process starts or stops? I'm using a delegate to show an indeterminate progress bar (with &lt;code&gt;setRange(0, 0)&lt;/code&gt;), and I want it to be green when running and red when stopped, but replacing the delegate doesn't seem to redraw the color.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Fitzpatrick</dc:creator><pubDate>Wed, 24 Mar 2021 09:00:00 +0000</pubDate><guid>tag:www.pythonguis.com,2021-03-24:/faq/change-color-in-qprogressbar-delegate/</guid><category>pyside6</category><category>pyside</category><category>python</category><category>qtableview</category><category>delegate</category><category>qprogressbar</category><category>qt</category><category>qt6</category></item><item><title>Change the color of the ProgressBar indicator text when it exceeds 50%</title><link>https://www.pythonguis.com/faq/change-the-color-of-the-progressbar-indicator-text-when-it-exceeds-50/</link><description>How can I change the text color from black to white of the percentage indicator inside the &lt;code&gt;QProgressBar&lt;/code&gt; when it exceeds the value of 50?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Fitzpatrick</dc:creator><pubDate>Tue, 21 Jul 2020 09:00:00 +0000</pubDate><guid>tag:www.pythonguis.com,2020-07-21:/faq/change-the-color-of-the-progressbar-indicator-text-when-it-exceeds-50/</guid><category>pyqt5</category><category>pyqt</category><category>qprogressbar</category><category>stylesheets</category><category>python</category><category>qt</category><category>qt5</category></item></channel></rss>