[PyQt] Pickle Support

Mark Summerfield mark at qtrac.eu
Mon Apr 30 08:02:40 BST 2007


On Sun 29-Apr-07, Phil Thompson wrote:
> The current SIP snapshot now supports the provision of handwritten code for
> pickling wrapped classes. It also automatically pickles enums. It does not
> have the usual pickle restriction of not being able to pickle nested types.
>
> The current PyQt4 snapshot has pickle support for the following classes...
>
> QByteArray, QChar, QColor, QDate, QDateTime, QKeySequence, QLatin1Char,
> QLatin1String, QLine, QLineF, QMatrix, QPoint, QPointF, QPolygon, QRect,
> QRectF, QSize, QSizeF, QString, QTime

Phil,

This is good news (and now covered in the book:-)

I'd consider a few more though:

QBitmap
QBrush
QCursor
QFont
QIcon
QImage
QPalette?
QPen
QPixmap
QPolygonF
QStringList?



-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu



More information about the PyQt mailing list