[PyQt] Custom widgets, dynamic properties and css

David Boddie dboddie at trolltech.com
Thu Nov 22 15:20:46 GMT 2007


On Thu Nov 22 14:50:20 GMT 2007, Richard Smith wrote:

> Probably a really stupid question, but since I don't actually want to
> change the style, merely get it to update, is this likely to be valid,
> by the way to do it?:
> 
>   self.setStyle(self.style())

If you're using a style sheet, can't you just call setStyleSheet() on
the widget you want to update?

David
-- 
David Boddie
Lead Technical Writer, Trolltech ASA


More information about the PyQt mailing list