[PySide] changing colours for progressbar with GTK style

Frank Rueter | OHUfx frank at ohufx.com
Fri Apr 28 10:54:47 CEST 2017


Hi,

I have a QProgressBar set to GTK like this:

self.pBar = QtGui.QProgressBar()
self.pBar.setRange(0, 0)
self.pBar.setStyle(QtGui.QStyleFactory.create('GTK'))

I like the subtle colour pulsing from dark blue to light blue for a busy 
bar better than the traveling blocks.
However, the default is a little too subtle and I can barely see any 
pulsing at all:


How would I go about setting the colours for a progressbar in GTK style?

Thanks,
frank


-- 

ohufxLogo 50x50 <http://www.ohufx.com> 	
	*vfx compositing <http://ohufx.com/compositing.html> | *workflow 
customisation and consulting <http://ohufx.com/customising.html>* *
		*<http://ohufx.com/compositing.html>*
<http://www.nukepedia.com/nubridge> 	
	

Your gateway to over 1,000 free tools... right inside of Nuke 
<http://www.nukepedia.com/nubridge>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20170428/d3fb18ca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-04-28 at 8.54.20 PM.png
Type: image/png
Size: 5858 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20170428/d3fb18ca/attachment.png>


More information about the PySide mailing list