class FormatRange#

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

PySide6.QtGui.QTextLayout.FormatRange.start#
PySide6.QtGui.QTextLayout.FormatRange.length#
PySide6.QtGui.QTextLayout.FormatRange.format#
__ne__(rhs)#
Parameters:

rhsFormatRange

Return type:

bool

Returns true if any of the start, length, or format fields in lhs and rhs contain different values respectively.

__eq__(rhs)#
Parameters:

rhsFormatRange

Return type:

bool

Returns true if the start, length, and format fields in lhs and rhs contain the same values respectively.