Do you mean Image ? if so , you can display an image like this<br><br><i>self.btn1 = QtGui.QPushButton("")<br>img_mIcon = QtGui.QPixmap(":images/icon_maya-small.png")<br>self.btn1.setIcon(QtGui.QIcon(img_mIcon))</i><br>
<br><br><div class="gmail_quote">On Sun, Feb 3, 2013 at 3:26 PM, the lily <span dir="ltr"><<a href="mailto:the.1.lily@hotmail.com" target="_blank">the.1.lily@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
Hi<div><br></div><div>I'm new to pyside/pyqt </div><div>I would like to apply a texture and displays it into a window using one of them</div><div>I found only one example that is listed in the Qt website but it is complicated since I got lost between the different functions</div>
<div><br></div><div>I just want to know if I have an image called A for example how can I display it as a texture in a pyqt window </div><div><br></div><div><br></div><div>thanks </div> </div></div>
<br>_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br><br clear="all"><br>-- <br><b></b>
<p><a href="http://feeds.feedburner.com/SanLuthraBlog" target="_blank"><img src="http://feeds.feedburner.com/SanLuthraBlog.gif?w=1&c=1&bb=zCxf" alt="San's personal blog"></a></p>
<form action="http://fb/a/headlineanimator/install" method="get" accept-charset="utf-8" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
<p style="background-image:url('/fb/lib/images/icons/chameleon_red/add.gif')">
<b><br></b></p></form>