On Thu, 05 Feb 2009 07:50:57 -0500, Matt Smith <mel...@orangepalantir.org>
wrote:
> You could use the palette.
> 
> 
> MyLineEdit.palette().setColor(QtGui.QPalette.Base,QtGui.QColor('red'))

That's buggy as palette() returns a const. You need to make a copy of the
returned palette and modify that. See the roadmap.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to