本页内容

QTextEdit::ExtraSelection Struct

struct QTextEdit::ExtraSelection

QTextEdit::ExtraSelection 结构提供了一种为文档中的特定选定内容指定字符格式的方法。更多内容...

公共变量

QTextCursor cursor
QTextCharFormat format

详细说明

成员变量文档

QTextCursor ExtraSelection::cursor

一个包含选定内容的光标,该光标位于一个QTextDocument

QTextCharFormat ExtraSelection::format

一种用于指定选区的前景或背景画笔/颜色的格式。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.