Qt 4.8
Public Variables | List of all members
QTextEdit::ExtraSelection Class Reference

The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document. More...

#include <qtextedit.h>

Public Variables

QTextCursor cursor
 A cursor that contains a selection in a QTextDocument. More...
 
QTextCharFormat format
 A format that is used to specify a foreground or background brush/color for the selection. More...
 

Detailed Description

The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document.

Since
4.2

Definition at line 222 of file qtextedit.h.

Properties

◆ cursor

QTextEdit::ExtraSelection::cursor

A cursor that contains a selection in a QTextDocument.

Definition at line 224 of file qtextedit.h.

Referenced by QTextControl::extraSelections(), QTextControl::setExtraSelections(), and QScriptEdit::updateExtraSelections().

◆ format

QTextEdit::ExtraSelection::format

A format that is used to specify a foreground or background brush/color for the selection.

Definition at line 225 of file qtextedit.h.

Referenced by QTextControl::extraSelections(), QTextControl::setExtraSelections(), and QScriptEdit::updateExtraSelections().


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