[PyKDE] PyQt4: setPaletteBackgroundColor
patrickkidd at gmail.com
Tue Feb 7 23:11:46 GMT 2006
I relaize that this is a question for qt-interest, but I'm getting a slow
What is the preferred method for setting the background color of a widget in
qt4? I'm using palette().setColor(QPalette.Window, mycolor)), but this
setting for child widgets seems to be overriden by the color you set the
parent widget with. Are you supposed to draw a rect in paintEvent()? The
QWidget docs don't seem to say much.
Patrick Kidd Stinson
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt