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
Since: Qt 4.2

公共變量

QTextCursor cursor
QTextCharFormat format

詳細描述

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

成員變量文檔編製

QTextCursor ExtraSelection:: cursor

光標包含選定在 QTextDocument

QTextCharFormat ExtraSelection:: format

用於為選定指定前景 (或背景) 筆刷/顔色的格式。