##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QTextItem.h
40 lines | 1.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTEXTITEM_H
#define PYTHONQTWRAPPER_QTEXTITEM_H
#include <qpaintengine.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qfont.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTextItem : public QTextItem
{
public:
PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTextItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RenderFlag )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(RenderFlags )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum RenderFlag{
RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(RenderFlags, RenderFlag)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QTextItem* new_QTextItem();
void delete_QTextItem(QTextItem* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 qreal descent(QTextItem* theWrappedObject) const;
QString text(QTextItem* theWrappedObject) const;
QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QFont font(QTextItem* theWrappedObject) const;
qreal ascent(QTextItem* theWrappedObject) const;
qreal width(QTextItem* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTEXTITEM_H