[PyQt] QtGui.QMotifStyle not in PyQt?

Ulrich Berning ulrich.berning at denviso.de
Wed Feb 13 12:53:20 GMT 2008


Igor Prischepoff wrote:

>Hello,all!
>I'm looking in styling my pyqt application.
>There is nice python "styles" example ported from C++.
>But it's not complete port because NorwegianWood style is missing.
>In original C++ demo this example shows one more custom style build by user.
>So I'm digging deeper and find that QMotifStyle on which this NorwegianWood
>style 
>is build is'n ported to python part.
>  Is it done intentionally or it's just technologically hard to do? Or it's
>licensing issues?
>I'd like to build my own style for application.
>----------------
>And second question: anyone of you guys use custom themes like NorwegianWood
>for example?
>Do you build your own or just use embedded in Qt? (plastic, cde, etc..)
>----------------
>  
>
Why don't you use style sheets? With Qt4, most of the visual effects can 
be customized with style sheets. There is no longer a need to create new 
styles.

Ulli



More information about the PyQt mailing list