Do you mean Image ? if so , you can display an image like this

*self.btn1 = QtGui.QPushButton("")
img_mIcon = QtGui.QPixmap(":images/icon_maya-small.png")
self.btn1.setIcon(QtGui.QIcon(img_mIcon))*


On Sun, Feb 3, 2013 at 3:26 PM, the lily <[email protected]> wrote:

>  Hi
>
> I'm new to pyside/pyqt
> I would like to apply a texture and displays it into a window using one of
> them
> I found only one example that is listed in the Qt website but it is
> complicated since I got lost between the different functions
>
> 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
>
>
> thanks
>
> _______________________________________________
> PyQt mailing list    [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
**

[image: San's personal blog] <http://feeds.feedburner.com/SanLuthraBlog>

*
*
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to