[PyKDE] QPixmap.loadFromData
Phil Thompson
phil at river-bank.demon.co.uk
Fri Dec 20 10:52:00 GMT 2002
On Thursday 19 December 2002 8:49 pm, Oleksandr Yakovlyev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Sorry for offtopic
> QPixmap.loadFromData have argument (from sip headers) - /Array/.
> What is it ?
> Is it from array python module or it is something else ?
> I'm aways receiving error:
> TypeError: Argument 1 of QPixmap.loadFromData() has an invalid type
There is also an argument that has /ArraySize/. The two together mean that
PyQt takes a single argument and derives the size from it rather than passing
it explicitly. This is covered in the PyQt documentation for that class.
Phil
More information about the PyQt
mailing list