[PyQt] Problem on qt label
defaultdict at gmail.com
Mon Mar 28 08:56:33 BST 2011
That's probably because QImageReader does not support .jpg files.
You can check the supported image formats this way:
from PyQt4.QtGui import QImageReader
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 ?
> 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 ?
> PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt