Home · All Classes · Modules

QPyTextObject Class Reference
[QtGui module]

Inherits QObject and QTextObjectInterface.


Detailed Description

The QPyTextObject class is provided to work around the fact that it is not possible for a Python class to derive from multiple Qt classes.

In order to create new types of text object that you can add to a QTextDocument you should implement a Python class derived from QPyTextObject rather than one derived from QObject and QTextObjectInterface.

Method Documentation

QPyTextObject.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

PyQt 4.9.4 for WindowsCopyright © Riverbank Computing Ltd and Nokia 2012Qt 4.8.2