QTextImageHandler(QObject *parent=0)
virtual QSizeF intrinsicSize(QTextDocument *doc, int posInDocument, const QTextFormat &format)
The intrinsicSize() function returns the size of the text object represented by format in the given d...
static Q_GUI_EXPORT ExternalImageLoaderFunction externalLoader
The QTextObjectInterface class allows drawing of custom text objects in QTextDocument.
The QTextDocument class holds formatted text that can be viewed and edited using a QTextEdit...
QImage(* ExternalImageLoaderFunction)(const QString &name, const QString &context)
virtual void drawObject(QPainter *p, const QRectF &rect, QTextDocument *doc, int posInDocument, const QTextFormat &format)
Draws this text object using the specified painter.