Support for Pickling

The following PyQt4 classes may be pickled.

  • QByteArray
  • QChar
  • QColor
  • QDate
  • QDateTime
  • QKeySequence
  • QLatin1Char
  • QLatin1String
  • QLine
  • QLineF
  • QMatrix
  • QPoint
  • QPointF
  • QPolygon
  • QRect
  • QRectF
  • QSize
  • QSizeF
  • QString
  • QTime

Also all named enums (QtCore.Qt.Key for example) may be pickled.

Previous topic

Integrating Python and JavaScript in QtWebKit

Next topic

Support for Python’s Buffer Interface