The QTextLayout::FormatRange 结构用于为文本布局内容中的指定区域应用额外格式信息。 更多...
| 头: | #include <FormatRange> |
| QTextCharFormat | format |
| int | length |
| int | start |
The QTextLayout::FormatRange 结构用于为文本布局内容中的指定区域应用额外格式信息。
另请参阅 QTextLayout::setAdditionalFormats () 和 QTextLayout::draw ().
指定要应用的格式。
Specifies the numer of characters the format range spans.
Specifies the beginning of the format range within the text layout's text.