[PyQt] QGraphicsPixmapItem not showing set pixmap
dizou
di_zou at yahoo.com
Thu Jan 28 20:14:16 GMT 2010
Can someone give me some more help about this?
dizou wrote:
>
> I did print QFile.exists('/.../.../pic1.png'); it outputs "True."
> I am doing pic = QPixmap('/../../pic1.png') not
> pic = QPixmap('../../pic1.png')
>
>
> nickgaens wrote:
>>
>> Did you try QFile.exists('/.../.../pic1.png') ?
>>
>> I'm guessing you are trying to do:
>>
>> pic = QPixmap('../../pic1.png') <- note the change in the path to the
>> image file.
>>
>>
>> Nick
>>
>>
>
>
--
View this message in context: http://old.nabble.com/QGraphicsPixmapItem-not-showing-set-pixmap-tp27229352p27358788.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt
mailing list