- class Tab¶
Synopsis¶
Methods¶
def
__init__()
def
__ne__()
def
__eq__()
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
tabType –
TabType
delim –
QChar
Creates a tab with the given position, tab type, and delimiter (
pos
,tabType
,delim
).Note
delim
is only used whentabType
isDelimiterTab
.- __ne__(other)¶
- Parameters:
other –
Tab
- Return type:
bool
Returns
true
if tabother
is not equal to this tab; otherwise returnsfalse
.- __eq__(other)¶
- Parameters:
other –
Tab
- Return type:
bool
Returns
true
if tabother
is equal to this tab; otherwise returnsfalse
.