##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QTextLine.cpp
120 lines | 3.2 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextLine.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QTextLayout>
#include <QVariant>
#include <qpainter.h>
#include <qpoint.h>
#include <qrect.h>
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));
}