|  | Home · Overviews · Examples

# QAbstractTextDocumentLayout_Selection Class Reference
[com.trolltech.qt.gui module]

The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection. More...

## Detailed Description

The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection.

A selection can be used to specify a part of a document that should be rendere when drawing custom layouts for QTextDocuments with the QAbstractTextDocumentLayout::draw() function, and is specified by a cursor and a format.

See also `QAbstractTextDocumentLayout` and `PaintContext`.