富文本处理 API

QAbstractTextDocumentLayout

抽象基类,用于实现 QTextDocuments 的自定义布局

QFont

指定用于绘制文本的字体查询

QPlainTextDocumentLayout

为 QTextDocument 实现纯文本布局

QPlainTextEdit

用于编辑和显示纯文本的小工具

QSyntaxHighlighter

允许您定义语法高亮规则,此外,您还可以使用该类来查询文档的当前格式或用户数据

QTextBlock

QTextDocument 中文本片段的容器

QTextBlock::iterator

QTextBlock::iterator 类为读取 QTextBlock 的内容提供了一个迭代器

QTextBlockFormat

QTextDocument 中文本块的格式信息

QTextBlockGroup

QTextDocument 中文本块的容器

QTextBlockUserData

用于将自定义数据与文本块关联起来

QTextBrowser

具有超文本导航功能的富文本浏览器

QTextCharFormat

QTextDocument 中字符的格式信息

QTextCursor

提供访问和修改 QTextDocument 的 API

QTextDocument

保存格式化文本

QTextDocumentFragment

代表来自 QTextDocument 的一段格式化文本

QTextDocumentWriter

将 QTextDocument 写入文件或其他设备的独立于格式的接口

QTextEdit

用于编辑和显示纯文本和富文本的小工具

QTextFormat

QTextDocument 的格式化信息

QTextFragment

在 QTextDocument 中使用单一的 QTextCharFormat 保存一段文本

QTextFrame

代表 QTextDocument 中的一个框架

QTextFrame::iterator

用于读取 QTextFrame 内容的迭代器

QTextFrameFormat

QTextDocument 中帧的格式化信息

QTextImageFormat

QTextDocument 中图像的格式化信息

QTextInlineObject

代表 QAbstractTextDocumentLayout 及其实现中的内联对象

QTextLayout

用于布局和渲染文本

QTextLength

封装 QTextDocument 中使用的不同长度类型

QTextLine

代表 QTextLayout 中的一行文本

QTextList

在 QTextDocument 中装饰项目列表

QTextListFormat

为 QTextDocument 中的列表提供格式化信息

QTextObject

可将 QTextDocument 各部分组合在一起的各种对象的基类

QTextOption

一般富文本属性的描述

QTextTable

代表 QTextDocument 中的表格

QTextTableCell

代表 QTextTable 中单元格的属性

QTextTableCellFormat

QTextDocument 中表格单元格的格式化信息

QTextTableFormat

QTextDocument 中表格的格式信息

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