class Tab

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.QTextOption.Tab.position
PySide6.QtGui.QTextOption.Tab.type
PySide6.QtGui.QTextOption.Tab.delimiter
__init__()

Creates a default left tab with position 80.

__init__(pos, tabType[, delim=QChar()])
Parameters:
  • pos – float

  • tabTypeTabType

  • delimQChar

Creates a tab with the given position, tab type, and delimiter (pos, tabType, delim).

Note

delim is only used when tabType is DelimiterTab .

__ne__(other)
Parameters:

otherTab

Return type:

bool

Returns true if tab other is not equal to this tab; otherwise returns false.

__eq__(other)
Parameters:

otherTab

Return type:

bool

Returns true if tab other is equal to this tab; otherwise returns false.