![]() |
Qt 6.x
The Qt SDK
|
\reentrant More...
#include <qtextlayout.h>
Collaboration diagram for QTextLayout::FormatRange:Public Attributes | |
| int | start |
| int | length |
| QTextCharFormat | format |
Friends | |
| bool | operator== (const FormatRange &lhs, const FormatRange &rhs) |
| \variable QTextLayout::FormatRange::start Specifies the beginning of the format range within the text layout's text. | |
| bool | operator!= (const FormatRange &lhs, const FormatRange &rhs) |
Returns true if any of the {start}, {length}, or {format} fields in lhs and rhs contain different values respectively. | |
\reentrant
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. \inmodule QtGui
Definition at line 107 of file qtextlayout.h.
|
friend |
Returns true if any of the {start}, {length}, or {format} fields in lhs and rhs contain different values respectively.
Definition at line 114 of file qtextlayout.h.
|
friend |
\variable QTextLayout::FormatRange::start Specifies the beginning of the format range within the text layout's text.
\variable QTextLayout::FormatRange::length Specifies the number of characters the format range spans.
\variable QTextLayout::FormatRange::format Specifies the format to apply.
Returns true if the {start}, {length}, and {format} fields in lhs and rhs contain the same values respectively.
Definition at line 112 of file qtextlayout.h.
| QTextCharFormat QTextLayout::FormatRange::format |
Definition at line 110 of file qtextlayout.h.
Referenced by QQuickTextNodeEngine::addTextBlock(), and QQuickStyledTextPrivate::parse().
| int QTextLayout::FormatRange::length |
Definition at line 109 of file qtextlayout.h.
Referenced by QQuickTextNodeEngine::addTextBlock(), QTextLineItemIterator::getSelectionBounds(), and QQuickStyledTextPrivate::parse().
| int QTextLayout::FormatRange::start |
Definition at line 108 of file qtextlayout.h.
Referenced by QQuickTextNodeEngine::addTextBlock(), QTextLineItemIterator::getSelectionBounds(), and QQuickStyledTextPrivate::parse().