PythonQtWrapper_QTextObject.h
42 lines
| 1.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTOBJECT_H | ||
#define PYTHONQTWRAPPER_QTEXTOBJECT_H | ||||
#include <qtextobject.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextformat.h> | ||||
#include <qtextobject.h> | ||||
florianlink
|
r24 | class PythonQtShell_QTextObject : public QTextObject | ||
{ | ||||
public: | ||||
PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(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_QTextObject : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | int objectIndex(QTextObject* theWrappedObject) const; | ||
florianlink
|
r13 | QTextDocument* document(QTextObject* theWrappedObject) const; | ||
QTextFormat format(QTextObject* theWrappedObject) const; | ||||
int formatIndex(QTextObject* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTOBJECT_H | ||||