[PyKDE] Can I pickle PyQt stuff?

Willi Richert mennosimons at gmx.net
Thu Jun 27 21:57:00 BST 2002


Hi,

QCanvas, etc. are all C++-Classes so pickle will not work. Maybe marshal does,
but I also thing it won't. Although I've not yet tried, I would suggest
QDataStream which provides serialization of binary data to a QIODevice.

willi

On Thursday 27 June 2002 21:37, Stephen Green wrote:
> I'm trying to save a QCanvas as well as QCanvasItems, but I always get
> errors while pickling.  Is there a way to make it work?
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde


-- 
Vieles ist einfach, der Rest zweifach.




More information about the PyQt mailing list