PythonQtWrapper_QTextFrame.h
53 lines
| 1.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTFRAME_H | ||
#define PYTHONQTWRAPPER_QTEXTFRAME_H | ||||
#include <qtextobject.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QTextCursor> | ||
#include <QTextFrame> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qtextcursor.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextformat.h> | ||||
#include <qtextobject.h> | ||||
florianlink
|
r24 | 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; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QTextFrame : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextFrame* new_QTextFrame(QTextDocument* doc); | ||||
void delete_QTextFrame(QTextFrame* obj) { delete obj; } | ||||
QList<QTextFrame* > childFrames(QTextFrame* theWrappedObject) const; | ||||
florianlink
|
r28 | QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r13 | int firstPosition(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r28 | void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); | ||
QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; | ||||
florianlink
|
r13 | QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r28 | QTextFrame::iterator end(QTextFrame* theWrappedObject) const; | ||
QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; | ||||
QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; | ||||
florianlink
|
r13 | int lastPosition(QTextFrame* theWrappedObject) const; | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTFRAME_H | ||||