##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

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