[PyQt] How can I use QWindowsXPStyle in PyQt

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jan 16 10:46:07 GMT 2008

On Wednesday 16 January 2008, GAMMAEPSILON GAMMAEPSILON wrote:
> Hi,
> I want to set my application style to QWindowsXPStyle. In Qt (with C++) it
> does work with app->setStyle( QWindowsXPStyle() ), in PyQt the class
> QWindowsXPStyle is not available.
> In the thread <QStyle classes not exposed> Phil answered that you can use
> plugins. How does it work exactly? Is there any example or any tutorial?

Pass -style windowsxp on the command line. The style should be a user's 
decision, not a developers.


More information about the PyQt mailing list