API reference - Class QTextLineNotation used in Ruby API documentation Description: Binding of QTextLine Public constructors
Public methods
Public static methods and constants
Detailed description[static] QTextLine_CursorPosition CursorBetweenCharactersDescription: Enum constant QTextLine::CursorBetweenCharacters [static] QTextLine_CursorPosition CursorOnCharacterDescription: Enum constant QTextLine::CursorOnCharacter [static] QTextLine_Edge LeadingDescription: Enum constant QTextLine::Leading [static] QTextLine_Edge TrailingDescription: Enum constant QTextLine::Trailing [const] double ascentDescription: Method double QTextLine::ascent() [const] void assign(const QTextLine other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. [const] double cursorToX(int ptr cursorPos,const QTextLine_Edge edge = QTextLine::Leading)Description: Method double QTextLine::cursorToX(int *cursorPos, QTextLine::Edge edge) [const] double cursorToX(int cursorPos,const QTextLine_Edge edge = QTextLine::Leading)Description: Method double QTextLine::cursorToX(int cursorPos, QTextLine::Edge edge) [const] double descentDescription: Method double QTextLine::descent() void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] void draw(QPainter ptr p,const QPointF point,const QTextLayout_FormatRange ptr selection = 0)Description: Method void QTextLine::draw(QPainter *p, const QPointF &point, const QTextLayout::FormatRange *selection) [const] QTextLine dupDescription: Creates a copy of self [const] double heightDescription: Method double QTextLine::height() [const] bool isValidDescription: Method bool QTextLine::isValid() [const] bool isValid?Description: Method bool QTextLine::isValid() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [const] double leadingDescription: Method double QTextLine::leading() [const] bool leadingIncludedDescription: Method bool QTextLine::leadingIncluded() void leadingIncluded=(bool included)Description: Method void QTextLine::setLeadingIncluded(bool included) [const] int lineNumberDescription: Method int QTextLine::lineNumber() [const] QRectF naturalTextRectDescription: Method QRectF QTextLine::naturalTextRect() [const] double naturalTextWidthDescription: Method double QTextLine::naturalTextWidth() [static] new QTextLine newDescription: Constructor QTextLine::QTextLine() This method creates an object of class QTextLine. [const] QPointF positionDescription: Method QPointF QTextLine::position() void position=(const QPointF pos)Description: Method void QTextLine::setPosition(const QPointF &pos) [const] QRectF rectDescription: Method QRectF QTextLine::rect() void setLeadingIncluded(bool included)Description: Method void QTextLine::setLeadingIncluded(bool included) void setLineWidth(double width)Description: Method void QTextLine::setLineWidth(double width) void setNumColumns(int columns)Description: Method void QTextLine::setNumColumns(int columns) void setNumColumns(int columns,double alignmentWidth)Description: Method void QTextLine::setNumColumns(int columns, double alignmentWidth) void setPosition(const QPointF pos)Description: Method void QTextLine::setPosition(const QPointF &pos) [const] int textLengthDescription: Method int QTextLine::textLength() [const] int textStartDescription: Method int QTextLine::textStart() [const] double widthDescription: Method double QTextLine::width() [const] double xDescription: Method double QTextLine::x() [const] int xToCursor(double x,const QTextLine_CursorPosition arg2 = QTextLine::CursorBetweenCharacters)Description: Method int QTextLine::xToCursor(double x, QTextLine::CursorPosition) [const] double yDescription: Method double QTextLine::y() |