Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

FormatRange Class Reference
(QTextLayout::FormatRange)
[QtGui module]

The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. More...

Public Variables


Detailed Description

The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.

See also QTextLayout::setAdditionalFormats() and QTextLayout::draw().


Member Variable Documentation

QTextCharFormat FormatRange::format

Specifies the format to apply.

int FormatRange::length

Specifies the numer of characters the format range spans.

int FormatRange::start

Specifies the beginning of the format range within the text layout's text.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.5.1