[PyQt] Set a SVG image as background and with transparency

2007-08-06 Thread Gustavo A. Díaz
Hi Guys! I tried to render a svg file and load as background, which i didn't succeed... i just threated it as a pixmaps to load it, but with that i cant set transparency ,if i am not wrong. For example, i have a label which is the same size of my application and is where i put the image as backgr

Re: [PyQt] how to set a widget background?

2007-08-06 Thread Giovanni Bajo
On lun, 2007-08-06 at 10:13 +0800, Marco wrote: > Hi, > I write a widget from QWidget, and I want to change its backgound, I > change it via rewrite paintEvent, but it got my computer slowly. Is > there better method to change a widget backgourd? widget.setStyleSheet("QWidget { background: FF00