Skip to content

PythonQt.QtGui.QTextFormat · declarations 002

Back to PythonQt.QtGui.QTextFormat

toFrameFormat

toFrameFormat() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextFrameFormat QTextFormat::toFrameFormat() const

Returns this format as a frame format.

Upstream PySide2 reference signatures (binding differences may apply):

toFrameFormat(self) -> PySide2.QtGui.QTextFrameFormat

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#toFrameFormat

toImageFormat

toImageFormat() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextImageFormat QTextFormat::toImageFormat() const

Returns this format as an image format.

Upstream PySide2 reference signatures (binding differences may apply):

toImageFormat(self) -> PySide2.QtGui.QTextImageFormat

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#toImageFormat

toListFormat

toListFormat() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextListFormat QTextFormat::toListFormat() const

Returns this format as a list format.

Upstream PySide2 reference signatures (binding differences may apply):

toListFormat(self) -> PySide2.QtGui.QTextListFormat

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#toListFormat

toTableCellFormat

toTableCellFormat() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextTableCellFormat QTextFormat::toTableCellFormat() const

Returns this format as a table cell format.

This function was introduced in Qt 4.4.

Upstream PySide2 reference signatures (binding differences may apply):

toTableCellFormat(self) -> PySide2.QtGui.QTextTableCellFormat

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#toTableCellFormat

toTableFormat

toTableFormat() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextTableFormat QTextFormat::toTableFormat() const

Returns this format as a table format.

Upstream PySide2 reference signatures (binding differences may apply):

toTableFormat(self) -> PySide2.QtGui.QTextTableFormat

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#toTableFormat

type

type() -> int

X.type() -> int

Supplemental documentation: Qt 5 reference:

int QTextFormat::type() const

Returns the type of this format.

See also FormatType.

Upstream PySide2 reference signatures (binding differences may apply):

type(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qtextformat.html#type