[PyQt] PyQt, QSVGWidget background color
Matt Smith
melkor at orangepalantir.org
Tue Nov 4 19:32:10 GMT 2008
Okay, I made a graphing tool. Works great, somebody suggested that the
background should be white. No problem...I took the widget,
widget.palette().background().setColor(QColor('white'))
and it turned white. But that turned the background of every widget in
the main window white too. Is there a way to seperate this widget's
palette from the main windows palette?
I am thinking of making a large filled square that takes up my whole svg
image if I can't do it through qt.
thanks
mbs
More information about the PyQt
mailing list