Skip to content

PythonQt.QtGui.QTextBlockFormat · declarations 005

Back to PythonQt.QtGui.QTextBlockFormat

tabPositions

tabPositions() -> tuple

X.tabPositions() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QTextOption::Tab> QTextBlockFormat::tabPositions() const

Returns a list of tab positions defined for the text block.

This function was introduced in Qt 4.4.

See also setTabPositions().

Upstream PySide2 reference signatures (binding differences may apply):

tabPositions(self) -> typing.List[PySide2.QtGui.QTextOption.Tab]

Source: https://doc.qt.io/archives/qt-5.15/qtextblockformat.html#tabPositions

textIndent

textIndent() -> float

X.textIndent() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextBlockFormat::textIndent() const

Returns the paragraph's text indent.

See also setTextIndent().

Upstream PySide2 reference signatures (binding differences may apply):

textIndent(self) -> float

Source: https://doc.qt.io/archives/qt-5.15/qtextblockformat.html#textIndent

toBlockFormat

toBlockFormat() -> Any

X.toBlockFormat() -> PythonQt.QtGui.QTextBlockFormat

toCharFormat

toCharFormat() -> Any

X.toCharFormat() -> PythonQt.QtGui.QTextCharFormat

toFrameFormat

toFrameFormat() -> Any

X.toFrameFormat() -> PythonQt.QtGui.QTextFrameFormat

toImageFormat

toImageFormat() -> Any

X.toImageFormat() -> PythonQt.QtGui.QTextImageFormat

toListFormat

toListFormat() -> Any

X.toListFormat() -> PythonQt.QtGui.QTextListFormat

toTableCellFormat

toTableCellFormat() -> Any

X.toTableCellFormat() -> PythonQt.QtGui.QTextTableCellFormat

toTableFormat

toTableFormat() -> Any

X.toTableFormat() -> PythonQt.QtGui.QTextTableFormat

topMargin

topMargin() -> float

X.topMargin() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextBlockFormat::topMargin() const

Returns the paragraph's top margin.

See also setTopMargin() and bottomMargin().

Upstream PySide2 reference signatures (binding differences may apply):

topMargin(self) -> float

Source: https://doc.qt.io/archives/qt-5.15/qtextblockformat.html#topMargin