[PyQt] deriving a style in pyqt

Phil Thompson phil at riverbankcomputing.co.uk
Fri Aug 3 06:16:58 BST 2007

On Friday 03 August 2007 12:53 am, Peter Shinners wrote:
> Is it possible to derive a custom QStyle class from the built in
> "windows" theme with PyQt? I remember playing with this idea early in
> some Qt4 transitioning and didn't get too far. I may not have known what
> I was doing.
> Thought I would ask before venturing into this agani.
> My goal is to basically take the 'windows' theme and make a few minor
> cosmetic changes. Like skinner scrollbars, some padding, and a few minor
> drawing changes.
> I can imagine that this would be performance critical enough that doing
> styles in C++ is desirable.

The specific style classes aren't wrapped in PyQt4. Perhaps you can do what 
you want with stylesheets.


More information about the PyQt mailing list