QTextLayout.FormatRange Class Reference

[ QtGui module]

The QTextLayout.FormatRange structure is used to apply extra formatting information for a specified area in the text layout's 内容。 更多...

方法

Members


详细描述

The QTextLayout.FormatRange structure is used to apply extra formatting information for a specified area in the text layout's 内容。


方法文档编制

FormatRange.__init__ ( self )

FormatRange.__init__ ( self , FormatRange )


Member Documentation

QTextCharFormat format

指定要应用的格式。

int length

Specifies the numer of characters the format range spans.

int start

Specifies the beginning of the format range within the text layout's text.