File: pickle.rst

package info (click to toggle)
pyqt5 5.7%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,844 kB
  • ctags: 5,974
  • sloc: python: 93,052; cpp: 20,268; xml: 282; makefile: 270; sh: 31
file content (22 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Support for Pickling
====================

The following PyQt5 classes may be pickled.

- :class:`~PyQt5.QtCore.QByteArray`
- :class:`~PyQt5.QtGui.QColor`
- :class:`~PyQt5.QtCore.QDate`
- :class:`~PyQt5.QtCore.QDateTime`
- :class:`~PyQt5.QtGui.QKeySequence`
- :class:`~PyQt5.QtCore.QLine`
- :class:`~PyQt5.QtCore.QLineF`
- :class:`~PyQt5.QtCore.QPoint`
- :class:`~PyQt5.QtCore.QPointF`
- :class:`~PyQt5.QtGui.QPolygon`
- :class:`~PyQt5.QtCore.QRect`
- :class:`~PyQt5.QtCore.QRectF`
- :class:`~PyQt5.QtCore.QSize`
- :class:`~PyQt5.QtCore.QSizeF`
- :class:`~PyQt5.QtCore.QTime`

Also all named enums (:attr:`PyQt5.QtCore.Qt.Key` for example) may be pickled.