Hi Guys!<br><br>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.<br><br>For example, i have a label which is the same size of my application and is where i put the image as background having this result:
<br><br><a href="http://opencoffee.lnxteam.org/downloads/pub/pics/OpenCoffee_Server.png">http://opencoffee.lnxteam.org/downloads/pub/pics/OpenCoffee_Server.png</a> (is the mainWidget background, the bluish one)<br><br>Now, i want to know how to load that image but rendering as a SVG file should be threated in that background. What i temporary did is:
<br><br>self.mainWindowPixmap = QtGui.QPixmap (<span class="code-string">":/Pixmaps/pixmaps/oc_mainWindowBg.svg"</span>)<br>self.mainWindowBg.setPixmap(self.mainWindowPixmap)<br><br>(mainWindowBg is the QLabel)<br>
<br>Which i know is not the correct way to threat a SVG image.<br><br>I have two doubts here, one is i want to set transparency a SVG image, render and set it in that QLabel<br>The other, is how do i set transparency for the window of that app using that SVG image? (which should have transparency if i am not wrong)
<br><br>Thanks!!!<br><br>PS: i know David, i read those links about transparency... but i have those doubts and i have no clear how to render a svg file and load/set inside a QLabel<br><br>-- <br>Gustavo A. Díaz<br>GDNet Projects
<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>