[PyQt] Problem displaying images in QLabel (Newbie)
mail at nickgaens.com
Mon Mar 1 08:57:47 GMT 2010
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 <bartomas at gmail.com> wrote:
> 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
> Many thanks again for your patience.
> On Thu, Feb 25, 2010 at 3:00 PM, Nick Gaens <mail at nickgaens.com> wrote:
> > 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 <bartomas at gmail.com> wrote:
> >> 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.
> >> _______________________________________________
> >> PyQt mailing list PyQt at riverbankcomputing.com
> >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > --
> > Nick Gaens
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt