#ifndef PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H #define PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H #include #include #include #include #include #include #include #include class PythonQtWrapper_QTextObjectInterface : public QObject { Q_OBJECT public: public slots: void delete_QTextObjectInterface(QTextObjectInterface* obj) { delete obj; } void drawObject(QTextObjectInterface* theWrappedObject, QPainter* painter, const QRectF& rect, QTextDocument* doc, int posInDocument, const QTextFormat& format); QSizeF intrinsicSize(QTextObjectInterface* theWrappedObject, QTextDocument* doc, int posInDocument, const QTextFormat& format); }; #endif // PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H