[PyQt] Getting system theme colors..

Jebagnana Das jebagnanadas at gmail.com
Thu Apr 5 09:41:41 BST 2012


Hello all,

Is it possible to get the "Currently active" theme color gradient using
PyQt?

To be more specific i want to have the color values when an item is
selected and hovered over (or if it's focused).

For example in my Ubuntu when a item is focused it shows the color like
this [image: Inline image 1]

And when an item is selected it'll show the darker version of the theme
color like the picture [image: Inline image 2]

Your help is highly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120405/b1099f0f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-30.jpg
Type: image/jpeg
Size: 2346 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120405/b1099f0f/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-31.jpg
Type: image/jpeg
Size: 12887 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120405/b1099f0f/attachment-0003.jpg>


More information about the PyQt mailing list