[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Problem on qt label
From: Zoltan Szalai <defaultdict () gmail ! com>
Date: 2011-03-28 7:56:33
Message-ID: 4D903F31.3010807 () gmail ! com
[Download RAW message or body]
Hi,
That's probably because QImageReader does not support .jpg files.
You can check the supported image formats this way:
from PyQt4.QtGui import QImageReader
QImageReader.supportedImageFormats()
see: http://doc.qt.nokia.com/4.7/qimagereader.html#supportedImageFormats
bests
Zoltan
On 2011.03.27. 20:37, Matteo Boscolo wrote:
> Hi All,
>
> I've solved the problem using png format insted of jpg ..
>
> anyone can tell my way ?
>
> regards,
> Matteo
>
> Il 26/03/2011 09:54, Matteo Boscolo ha scritto:
>> Hi all,
>> I have a QDialog in witch I put a qtreeview and a label.
>> the datamodel of the qtreeview contains a field that is bite array
>> that rappresent a bitmap.
>>
>> if I run the stand alone dialog the label will be update when I click
>> on the qtreeview row with the relative bitmap.
>>
>> if I run this dialog as a children of a cad application via com
>> server it works well but the label dose not show the image ..
>> I also try to show a text instead a bitmap and it works well in the
>> dialog ..
>>
>> Have you any idea on how to solve This issue ?
>>
>> Regards,
>> Matteo
>>
>>
>>
>
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic