#ifndef PYTHONQTWRAPPER_QTEXTFRAME_H #define PYTHONQTWRAPPER_QTEXTFRAME_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QTextFrame : public QTextFrame { public: PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrame : public QObject { Q_OBJECT public: public slots: QTextFrame* new_QTextFrame(QTextDocument* doc); void delete_QTextFrame(QTextFrame* obj) { delete obj; } void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; int lastPosition(QTextFrame* theWrappedObject) const; QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; QTextFrame::iterator end(QTextFrame* theWrappedObject) const; QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; int firstPosition(QTextFrame* theWrappedObject) const; QList childFrames(QTextFrame* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTEXTFRAME_H