[PyQt] QtGui.QMotifStyle not in PyQt?

David Douard david.douard at logilab.fr
Wed Feb 13 13:53:36 GMT 2008


On Wed, Feb 13, 2008 at 01:53:20PM +0100, Ulrich Berning wrote:
> 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.

Well, beware that if you write an app with generated layouts, using
stylesheet dramatically increase widget creation time, thus an make
your application not very reactive.

David

>
> Ulli
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

-- 
David Douard                        LOGILAB, Paris (France), +33 1 45 32 03 12
Formations Python, Zope, Debian :   http://www.logilab.fr/formations
Développement logiciel sur mesure : http://www.logilab.fr/services
Informatique scientifique :         http://www.logilab.fr/science
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080213/97447e2d/attachment-0001.bin


More information about the PyQt mailing list