The QTextLayout.FormatRange structure is used to apply extra formatting information for a specified area in the text layout's 内容。 更多...
The QTextLayout.FormatRange structure is used to apply extra formatting information for a specified area in the text layout's 内容。
指定要应用的格式。
Specifies the numer of characters the format range spans.
Specifies the beginning of the format range within the text layout's text.