Qt 4.8
|
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. More...
#include <qtextlayout.h>
Public Variables | |
QTextCharFormat | format |
Specifies the format to apply. More... | |
int | length |
Specifies the numer of characters the format range spans. More... | |
int | start |
Specifies the beginning of the format range within the text layout's text. More... | |
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.
Definition at line 128 of file qtextlayout.h.
QTextLayout::FormatRange::format |
Specifies the format to apply.
Definition at line 131 of file qtextlayout.h.
Referenced by QSyntaxHighlighterPrivate::applyFormatChanges(), QTextLayout::draw(), QSvgText::draw(), QTextLine::draw(), QLineControl::draw(), QTextDocumentLayoutPrivate::drawBlock(), QTextEngine::format(), QTextEngine::indexAdditionalFormats(), QTextControlPrivate::inputMethodEvent(), QGraphicsSimpleTextItem::paint(), QPlainTextEdit::paintEvent(), QDeclarativeStyledTextPrivate::parse(), and QLineControl::processInputMethodEvent().
QTextLayout::FormatRange::length |
Specifies the numer of characters the format range spans.
Definition at line 130 of file qtextlayout.h.
Referenced by QTextEngine::addRequiredBoundaries(), QSyntaxHighlighterPrivate::applyFormatChanges(), QTextLayout::draw(), QSvgText::draw(), QTextLine::draw(), QLineControl::draw(), QTextDocumentLayoutPrivate::drawBlock(), QTextEngine::format(), QTextLineItemIterator::getSelectionBounds(), QTextControlPrivate::inputMethodEvent(), QGraphicsSimpleTextItem::paint(), QPlainTextEdit::paintEvent(), QDeclarativeStyledTextPrivate::parse(), and QLineControl::processInputMethodEvent().
QTextLayout::FormatRange::start |
Specifies the beginning of the format range within the text layout's text.
Definition at line 129 of file qtextlayout.h.
Referenced by QTextEngine::addRequiredBoundaries(), QSyntaxHighlighterPrivate::applyFormatChanges(), QTextLayout::draw(), QSvgText::draw(), QTextLine::draw(), QLineControl::draw(), QTextDocumentLayoutPrivate::drawBlock(), QTextEngine::format(), QTextLineItemIterator::getSelectionBounds(), QTextControlPrivate::inputMethodEvent(), QGraphicsSimpleTextItem::paint(), QPlainTextEdit::paintEvent(), QDeclarativeStyledTextPrivate::parse(), and QLineControl::processInputMethodEvent().