ExtraSelection Class
(QTextEdit::ExtraSelection)The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document 更多...
头文件: | #include <ExtraSelection> |
qmake: | QT += widgets |
开始支持版本: | Qt 4.2 |
公有变量
详细描述
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
成员变量
QTextCursor ExtraSelection::cursor
A cursor that contains a selection in a QTextDocument
QTextCharFormat ExtraSelection::format
A format that is used to specify a foreground or background brush/color for the selection.