QTextEdit::ExtraSelection Struct

struct QTextEdit::ExtraSelection

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

公共变量

QTextCursor cursor
QTextCharFormat format

详细说明

成员变量文档

QTextCursor ExtraSelection::cursor

游标包含一个QTextDocument

QTextCharFormat ExtraSelection::format

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

© 2025 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.