Re: [PyQt] Texturing using PyQt/PySide

2013-02-03 Thread Vincent Vande Vyvre
> Subject: Re: [PyQt] Texturing using PyQt/PySide > To: the.1.l...@hotmail.com > CC: pyqt@riverbankcomputing.com > > Do you mean Image ? if so , you can display an image like this > > /self.btn1 = QtGui.QPushButton("") > img_mIcon = QtGui.QPixmap(":images/ico

Re: [PyQt] Texturing using PyQt/PySide

2013-02-03 Thread šãñ
Sun, 3 Feb 2013 15:35:56 +0530 > Subject: Re: [PyQt] Texturing using PyQt/PySide > To: the.1.l...@hotmail.com > CC: pyqt@riverbankcomputing.com > > > Do you mean Image ? if so , you can display an image like this > > *self.btn1 = QtGui.QPushButton("") &

Re: [PyQt] Texturing using PyQt/PySide

2013-02-03 Thread the lily
thanks but I do not wanna show the image on button I wanna show it on a window From: niceguy...@gmail.com Date: Sun, 3 Feb 2013 15:35:56 +0530 Subject: Re: [PyQt] Texturing using PyQt/PySide To: the.1.l...@hotmail.com CC: pyqt@riverbankcomputing.com Do you mean Image ? if so , you can display

Re: [PyQt] Texturing using PyQt/PySide

2013-02-03 Thread šãñ
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 wrote: > Hi > > I'm new to pyside/pyqt > I would like