Skip to content

PythonQt.QtGui.QTextImageFormat · declarations 002

Back to PythonQt.QtGui.QTextImageFormat

setName

setName(name: str) -> None

X.setName(name)

Supplemental documentation: Qt 5 reference:

void QTextImageFormat::setName(const QString \&name)

Sets the name of the image. The name is used to locate the image in the application's resources.

See also name().

Upstream PySide2 reference signatures (binding differences may apply):

setName(self, name: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtextimageformat.html#setName

setTableCellColumnSpan

setTableCellColumnSpan(tableCellColumnSpan: Any) -> Any

X.setTableCellColumnSpan(tableCellColumnSpan)

setTableCellRowSpan

setTableCellRowSpan(tableCellRowSpan: Any) -> Any

X.setTableCellRowSpan(tableCellRowSpan)

setTextOutline

setTextOutline(pen: Any) -> Any

X.setTextOutline(pen)

setToolTip

setToolTip(tip: Any) -> Any

X.setToolTip(tip)

setUnderlineColor

setUnderlineColor(color: Any) -> Any

X.setUnderlineColor(color)

setUnderlineStyle

setUnderlineStyle(style: Any) -> Any

X.setUnderlineStyle(style)

setVerticalAlignment

setVerticalAlignment(alignment: Any) -> Any

X.setVerticalAlignment(alignment)

setWidth

setWidth(width: float) -> None

X.setWidth(width)

Supplemental documentation: Qt 5 reference:

void QTextImageFormat::setWidth(qreal width)

Sets the width of the rectangle occupied by the image.

See also width() and setHeight().

Upstream PySide2 reference signatures (binding differences may apply):

setWidth(self, width: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtextimageformat.html#setWidth

tableCellColumnSpan

tableCellColumnSpan() -> int

X.tableCellColumnSpan() -> int

tableCellRowSpan

tableCellRowSpan() -> int

X.tableCellRowSpan() -> int

textOutline

textOutline() -> Any

X.textOutline() -> PythonQt.QtGui.QPen

underlineColor

underlineColor() -> Any

X.underlineColor() -> PythonQt.QtGui.QColor

underlineStyle

underlineStyle() -> Any

X.underlineStyle()

verticalAlignment

verticalAlignment() -> Any

X.verticalAlignment()

width

width() -> float

X.width() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextImageFormat::width() const

Returns the width of the rectangle occupied by the image.

See also height() and setWidth().

Upstream PySide2 reference signatures (binding differences may apply):

width(self) -> float

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