The QTextEdit::ExtraSelection 结构为给定文档选定,提供指定字符格式的办法。 更多...
| 头: | #include <ExtraSelection> |
| qmake: | QT += widgets |
| Since: | Qt 4.2 |
| QTextCursor | cursor |
| QTextCharFormat | format |
The QTextEdit::ExtraSelection 结构为给定文档选定,提供指定字符格式的办法。
光标包含选定在 QTextDocument
用于为选定指定前景 (或背景) 笔刷/颜色的格式。