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
光标包含选定在 QTextDocument
用于为选定指定前景 (或背景) 笔刷/颜色的格式。