[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] QPixmap and loading pixmaps from plain data
From: Peter Osborne <pete () bookware3000 ! ca>
Date: 2004-04-02 21:25:12
Message-ID: 200404021625.12185.pete () bookware3000 ! ca
[Download RAW message or body]
Because QPixmap does not have a constructor that accepts a const uchar*
(python string)
http://doc.trolltech.com/3.3/qpixmap.html
On April 2, 2004 04:17 pm, Maciej Paszta wrote:
> Why this works:
> icon = QPixmap()
> icon.loadFromData(plain_data)
> when this doesn't:
> icon = QPixmap(plain_data)
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic