Thanks Benjamin,

so that means this can't be done?
Is there style sheet syntax to get the pulsing rather than the traveling blocks?

Cheers,
frank

On 29/04/17 12:09 AM, Benjamin TERRIER wrote:
Hi,

Normally you would use a QPalette to change the colors.

However, Qt styles can choose to take the set QPalette into account or to ignore it. The last time I checked the GTK style completely ignores it. I cannot check right know,
but I think it is because it follows the GTK theme of your system.

BR,

Benjamin

2017-04-28 10:54 GMT+02:00 Frank Rueter | OHUfx <fr...@ohufx.com <mailto:fr...@ohufx.com>>:

    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>


    _______________________________________________
    Interest mailing list
    Interest@qt-project.org <mailto:Interest@qt-project.org>
    http://lists.qt-project.org/mailman/listinfo/interest
    <http://lists.qt-project.org/mailman/listinfo/interest>



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to