##// 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_QTextLine.h
53 lines | 2.2 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTEXTLINE_H
#define PYTHONQTWRAPPER_QTEXTLINE_H
#include <qtextlayout.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 <QTextLayout>
#include <QVariant>
#include <qpainter.h>
#include <qpoint.h>
#include <qrect.h>
class PythonQtWrapper_QTextLine : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Edge CursorPosition )
enum Edge{
Leading = QTextLine::Leading, Trailing = QTextLine::Trailing};
enum CursorPosition{
CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter};
public slots:
QTextLine* new_QTextLine();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextLine* new_QTextLine(const QTextLine& other) {
QTextLine* a = new QTextLine();
*((QTextLine*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QTextLine(QTextLine* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const;
void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth);
void setNumColumns(QTextLine* theWrappedObject, int columns);
florianlink
upgraded wrappers to current generator version...
r28 qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const;
void setPosition(QTextLine* theWrappedObject, const QPointF& pos);
int lineNumber(QTextLine* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qreal naturalTextWidth(QTextLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal ascent(QTextLine* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qreal height(QTextLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int textLength(QTextLine* theWrappedObject) const;
qreal y(QTextLine* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 qreal x(QTextLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qreal descent(QTextLine* theWrappedObject) const;
QRectF rect(QTextLine* theWrappedObject) const;
QRectF naturalTextRect(QTextLine* theWrappedObject) const;
qreal width(QTextLine* theWrappedObject) const;
void setLineWidth(QTextLine* theWrappedObject, qreal width);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPointF position(QTextLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int textStart(QTextLine* theWrappedObject) const;
bool isValid(QTextLine* theWrappedObject) const;
int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTEXTLINE_H