[PyQt] unsetPalette function in qt4?

Peter Shinners peters at imageworks.com
Wed Sep 12 02:34:54 BST 2007


Is there an equivalent to the QWidget.unsetPalette() method in Qt4. In 
Qt3 this is used to tell a QWidget to inherit its parent palette.

Perhaps a way using the property methods of QObject?

We are using this to temporarily set widgets with an error to a 
different color. When the error goes away we want to unset the local 
palette.



More information about the PyQt mailing list