File: pickle.rst

package info (click to toggle)
python-qt4 4.11.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 39,748 kB
  • ctags: 6,146
  • sloc: python: 125,938; cpp: 12,612; xml: 292; makefile: 258; php: 27; sh: 27
file content (27 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.