##// 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:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QTextFrame.h
53 lines | 1.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTFRAME_H
#define PYTHONQTWRAPPER_QTEXTFRAME_H
#include <qtextobject.h>
#include <QObject>
#include <PythonQt.h>
#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 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; }
QList<QTextFrame* > childFrames(QTextFrame* theWrappedObject) const;
QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const;
int firstPosition(QTextFrame* theWrappedObject) const;
void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format);
QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const;
QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const;
QTextFrame::iterator end(QTextFrame* theWrappedObject) const;
QTextFrame* parentFrame(QTextFrame* theWrappedObject) const;
QTextFrame::iterator begin(QTextFrame* theWrappedObject) const;
int lastPosition(QTextFrame* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTFRAME_H