Qt 4.8
Public Variables | List of all members
QAbstractTextDocumentLayout::Selection Class Reference

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

#include <qabstracttextdocumentlayout.h>

Public Variables

QTextCursor cursor
 the selection's cursor More...
 
QTextCharFormat format
 the format of the selection More...
 

Detailed Description

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

Note
This class or function is reentrant.

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

See also
QAbstractTextDocumentLayout, PaintContext

Definition at line 71 of file qabstracttextdocumentlayout.h.

Properties

◆ cursor

QAbstractTextDocumentLayout::Selection::cursor

◆ format

QAbstractTextDocumentLayout::Selection::format

The documentation for this class was generated from the following files: