Skip to content

PythonQt.QtGui.QTextImageFormat · declarations 001

Back to PythonQt.QtGui.QTextImageFormat

anchorHref

anchorHref() -> str

X.anchorHref() -> str

anchorNames

anchorNames() -> tuple

X.anchorNames() -> tuple

fontCapitalization

fontCapitalization() -> Any

X.fontCapitalization()

fontFixedPitch

fontFixedPitch() -> bool

X.fontFixedPitch() -> bool

fontHintingPreference

fontHintingPreference() -> Any

X.fontHintingPreference()

fontKerning

fontKerning() -> bool

X.fontKerning() -> bool

fontLetterSpacing

fontLetterSpacing() -> float

X.fontLetterSpacing() -> float

fontLetterSpacingType

fontLetterSpacingType() -> Any

X.fontLetterSpacingType()

fontOverline

fontOverline() -> bool

X.fontOverline() -> bool

fontStretch

fontStretch() -> int

X.fontStretch() -> int

fontStrikeOut

fontStrikeOut() -> bool

X.fontStrikeOut() -> bool

fontStyleHint

fontStyleHint() -> Any

X.fontStyleHint()

fontStyleStrategy

fontStyleStrategy() -> Any

X.fontStyleStrategy()

fontWordSpacing

fontWordSpacing() -> float

X.fontWordSpacing() -> float

height

height() -> float

X.height() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextImageFormat::height() const

Returns the height of the rectangle occupied by the image.

See also width() and setHeight().

Upstream PySide2 reference signatures (binding differences may apply):

height(self) -> float

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

isAnchor

isAnchor() -> bool

X.isAnchor() -> bool

isValid

isValid() -> bool

X.isValid() -> bool

Supplemental documentation: Qt 5 reference:

bool QTextImageFormat::isValid() const

Returns true if this image format is valid; otherwise returns false.

Upstream PySide2 reference signatures (binding differences may apply):

isValid(self) -> bool

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

name

name() -> str

X.name() -> str

Supplemental documentation: Qt 5 reference:

QString QTextImageFormat::name() const

Returns the name of the image. The name refers to an entry in the application's resources file.

See also setName().

Upstream PySide2 reference signatures (binding differences may apply):

name(self) -> str

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

setAnchor

setAnchor(anchor: Any) -> Any

X.setAnchor(anchor)

setAnchorHref

setAnchorHref(value: Any) -> Any

X.setAnchorHref(value)

setAnchorNames

setAnchorNames(names: Any) -> Any

X.setAnchorNames(names)

setFont

setFont(font: Any, behavior: Any) -> Any

X.setFont(font, behavior)

setFontCapitalization

setFontCapitalization(capitalization: Any) -> Any

X.setFontCapitalization(capitalization)

setFontFamily

setFontFamily(family: Any) -> Any

X.setFontFamily(family)

setFontFixedPitch

setFontFixedPitch(fixedPitch: Any) -> Any

X.setFontFixedPitch(fixedPitch)

setFontHintingPreference

setFontHintingPreference(hintingPreference: Any) -> Any

X.setFontHintingPreference(hintingPreference)

setFontItalic

setFontItalic(italic: Any) -> Any

X.setFontItalic(italic)

setFontKerning

setFontKerning(enable: Any) -> Any

X.setFontKerning(enable)

setFontLetterSpacing

setFontLetterSpacing(spacing: Any) -> Any

X.setFontLetterSpacing(spacing)

setFontLetterSpacingType

setFontLetterSpacingType(letterSpacingType: Any) -> Any

X.setFontLetterSpacingType(letterSpacingType)

setFontOverline

setFontOverline(overline: Any) -> Any

X.setFontOverline(overline)

setFontPointSize

setFontPointSize(size: Any) -> Any

X.setFontPointSize(size)

setFontStretch

setFontStretch(factor: Any) -> Any

X.setFontStretch(factor)

setFontStrikeOut

setFontStrikeOut(strikeOut: Any) -> Any

X.setFontStrikeOut(strikeOut)

setFontStyleHint

setFontStyleHint(hint: Any, strategy: Any) -> Any

X.setFontStyleHint(hint, strategy)

setFontStyleStrategy

setFontStyleStrategy(strategy: Any) -> Any

X.setFontStyleStrategy(strategy)

setFontUnderline

setFontUnderline(underline: Any) -> Any

X.setFontUnderline(underline)

setFontWeight

setFontWeight(weight: Any) -> Any

X.setFontWeight(weight)

setFontWordSpacing

setFontWordSpacing(spacing: Any) -> Any

X.setFontWordSpacing(spacing)

setHeight

setHeight(height: float) -> None

X.setHeight(height)

Supplemental documentation: Qt 5 reference:

void QTextImageFormat::setHeight(qreal height)

Sets the height of the rectangle occupied by the image.

See also height() and setWidth().

Upstream PySide2 reference signatures (binding differences may apply):

setHeight(self, height: float) -> None

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