#include "PythonQtWrapper_QTextLine.h" #include #include #include #include #include #include #include #include QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() { return new QTextLine(); } qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const { return ( theWrappedObject->height()); } void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) { ( theWrappedObject->setNumColumns(columns, alignmentWidth)); } qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const { return ( theWrappedObject->width()); } qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const { return ( theWrappedObject->y()); } void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) { ( theWrappedObject->setNumColumns(columns)); } qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const { return ( theWrappedObject->x()); } qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const { return ( theWrappedObject->descent()); } QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const { return ( theWrappedObject->rect()); } QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const { return ( theWrappedObject->naturalTextRect()); } qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const { return ( theWrappedObject->ascent()); } QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const { return ( theWrappedObject->position()); } int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const { return ( theWrappedObject->textStart()); } int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const { return ( theWrappedObject->xToCursor(x, arg__2)); } qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const { return ( theWrappedObject->cursorToX(cursorPos, edge)); } int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const { return ( theWrappedObject->textLength()); } void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) { ( theWrappedObject->setPosition(pos)); } int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const { return ( theWrappedObject->lineNumber()); } bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const { return ( theWrappedObject->isValid()); } qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const { return ( theWrappedObject->naturalTextWidth()); } void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) { ( theWrappedObject->setLineWidth(width)); } void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const { ( theWrappedObject->draw(p, point, selection)); }