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