Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-03-01 Thread bar tomas
You were right about the wrong path. Many thanks! On Mon, Mar 1, 2010 at 8:57 AM, Nick Gaens wrote: > Well, you can print the output of this > method: http://doc.trolltech.com/4.6/qfile.html#exists, after feeding it the > path you're using at the moment.. > > On Sun, Feb 28, 2010 at 9:27 PM, bar

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-03-01 Thread Nick Gaens
Well, you can print the output of this method: http://doc.trolltech.com/4.6/qfile.html#exists, after feeding it the path you're using at the moment.. On Sun, Feb 28, 2010 at 9:27 PM, bar tomas wrote: > Many thanks for trying to help me. > I thin

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-02-28 Thread bar tomas
Many thanks for trying to help me. I think the image file can be found because I can preview the form ok from QtDesigner. Do I need to do any steps to convert the image to a resource? (i dont really understand the difference between an image and a resource in Qt). Many thanks again for your patienc

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-02-25 Thread Nick Gaens
I'm guessing it has to do with the .png file not being found, but without some example code, only supernatural powered humans can help you :-). On Wed, Feb 24, 2010 at 4:11 PM, bar tomas wrote: > Hi, > I'm programming in PyQt using the Eric4 IDE and QtDesigner. > I've created a QLabel containing

[PyQt] Problem displaying images in QLabel (Newbie)

2010-02-24 Thread bar tomas
Hi, I'm programming in PyQt using the Eric4 IDE and QtDesigner. I've created a QLabel containing a png image that displays fine when previewing the form in QtDesigner, but when I execute my python program from Eric, the image is not visible. Do you know what I'm doing wrong? Many thanks. _