Skip to content

PythonQt.QtGui.QTextFrameFormat · declarations 002

Back to PythonQt.QtGui.QTextFrameFormat

topMargin

topMargin() -> float

X.topMargin() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextFrameFormat::topMargin() const

Returns the width of the frame's top margin in pixels.

This function was introduced in Qt 4.3.

See also setTopMargin().

Upstream PySide2 reference signatures (binding differences may apply):

topMargin(self) -> float

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

width

width() -> Any

X.width() -> PythonQt.QtGui.QTextLength

Supplemental documentation: Qt 5 reference:

QTextLength QTextFrameFormat::width() const

Returns the width of the frame's border rectangle.

See also setWidth() and QTextLength.

Upstream PySide2 reference signatures (binding differences may apply):

width(self) -> PySide2.QtGui.QTextLength

Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#width