[PyQt] Applying styles to a QApplication

Phil Thompson phil at riverbankcomputing.com
Wed Nov 5 15:45:30 GMT 2008


On Wed, 5 Nov 2008 16:38:01 +0100, "NARCISO, Rui" <RUI.NARCISO at airbus.com>
wrote:
> Hi
> 
>  I'm trying to apply the QMotifStyle to my applciation but I can't import
>  it or use it. It tells me that the name doesn't exist.
> 
>  I've checked the QtGui folder and both the QMotifStyle and qmotifstyle.h
>  files are present ...
> 
>  I'm using Qt4.

PyQt doesn't wrap the style classes. Just pass "-style=motif" as a command
line argument.

Phil


More information about the PyQt mailing list