[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QPixmap.loadFromData
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2002-12-20 9:51:03
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.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