Re: [PyQt] Getting image filename in QLabel-pixmap

2011-06-04 Thread David Boddie
On Fri, 3 Jun 2011 18:12:49 -0700 (PDT), James Polk wrote: Let's say you create a QLabel and make it an icon, by associating an image file to it,.. like.. ? thisPixmap? = QtGui.QPixmap('server:/images/airplane.jpg') ) ? thisIcon = QtGui.QLabel(self) ?

[PyQt] Getting image filename in QLabel-pixmap

2011-06-03 Thread James Polk
Let's say you create a QLabel and make it an icon, by associating an image file to it,.. like..   thisPixmap  = QtGui.QPixmap('server:/images/airplane.jpg') )   thisIcon = QtGui.QLabel(self)   thisIcon.setPixmap(thisPixmap) Now let's say that later, in another function...you need