Skip to content

PythonQt.QtGui.QFontInfo · declarations 001

Back to PythonQt.QtGui.QFontInfo

bold

bold() -> bool

X.bold() -> bool

Supplemental documentation: Qt 5 reference:

bool QFontInfo::bold() const

Returns true if weight() would return a value greater than QFont::Normal; otherwise returns false.

See also weight() and QFont::bold().

Upstream PySide2 reference signatures (binding differences may apply):

bold(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#bold

exactMatch

exactMatch() -> bool

X.exactMatch() -> bool

Supplemental documentation: Qt 5 reference:

bool QFontInfo::exactMatch() const

Returns true if the matched window system font is exactly the same as the one specified by the font; otherwise returns false.

See also QFont::exactMatch().

Upstream PySide2 reference signatures (binding differences may apply):

exactMatch(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#exactMatch

family

family() -> str

X.family() -> str

Supplemental documentation: Qt 5 reference:

QString QFontInfo::family() const

Returns the family name of the matched window system font.

See also QFont::family().

Upstream PySide2 reference signatures (binding differences may apply):

family(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#family

fixedPitch

fixedPitch() -> bool

X.fixedPitch() -> bool

Supplemental documentation: Qt 5 reference:

bool QFontInfo::fixedPitch() const

Returns the fixed pitch value of the matched window system font.

See also QFont::fixedPitch().

Upstream PySide2 reference signatures (binding differences may apply):

fixedPitch(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#fixedPitch

italic

italic() -> bool

X.italic() -> bool

Supplemental documentation: Qt 5 reference:

bool QFontInfo::italic() const

Returns the italic value of the matched window system font.

See also QFont::italic().

Upstream PySide2 reference signatures (binding differences may apply):

italic(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#italic

overline

overline() -> bool

X.overline() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

overline(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#overline

pixelSize

pixelSize() -> int

X.pixelSize() -> int

Supplemental documentation: Qt 5 reference:

int QFontInfo::pixelSize() const

Returns the pixel size of the matched window system font.

See also QFont::pointSize().

Upstream PySide2 reference signatures (binding differences may apply):

pixelSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#pixelSize

pointSize

pointSize() -> int

X.pointSize() -> int

Supplemental documentation: Qt 5 reference:

int QFontInfo::pointSize() const

Returns the point size of the matched window system font.

See also pointSizeF() and QFont::pointSize().

Upstream PySide2 reference signatures (binding differences may apply):

pointSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#pointSize

pointSizeF

pointSizeF() -> float

X.pointSizeF() -> float

Supplemental documentation: Qt 5 reference:

qreal QFontInfo::pointSizeF() const

Returns the point size of the matched window system font.

See also QFont::pointSizeF().

Upstream PySide2 reference signatures (binding differences may apply):

pointSizeF(self) -> float

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#pointSizeF

rawMode

rawMode() -> bool

X.rawMode() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

rawMode(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#rawMode

strikeOut

strikeOut() -> bool

X.strikeOut() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

strikeOut(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#strikeOut

style

style() -> Any

X.style()

Supplemental documentation: Qt 5 reference:

QFont::Style QFontInfo::style() const

Returns the style value of the matched window system font.

See also QFont::style().

Upstream PySide2 reference signatures (binding differences may apply):

style(self) -> PySide2.QtGui.QFont.Style

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#style

styleHint

styleHint() -> Any

X.styleHint()

Supplemental documentation: Qt 5 reference:

QFont::StyleHint QFontInfo::styleHint() const

Returns the style of the matched window system font.

Currently only returns the style hint set in QFont.

See also QFont::styleHint() and QFont::StyleHint.

Upstream PySide2 reference signatures (binding differences may apply):

styleHint(self) -> PySide2.QtGui.QFont.StyleHint

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#styleHint

styleName

styleName() -> str

X.styleName() -> str

Supplemental documentation: Qt 5 reference:

QString QFontInfo::styleName() const

Returns the style name of the matched window system font on systems that support it.

This function was introduced in Qt 4.8.

See also QFont::styleName().

Upstream PySide2 reference signatures (binding differences may apply):

styleName(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#styleName

swap

swap(other: Any) -> None

X.swap(other)

Supplemental documentation: Qt 5 reference:

void QFontInfo::swap(QFontInfo \&other)

Swaps this font info instance with other. This function is very fast and never fails.

This function was introduced in Qt 5.0.

Upstream PySide2 reference signatures (binding differences may apply):

swap(self, other: PySide2.QtGui.QFontInfo) -> None

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#swap

underline

underline() -> bool

X.underline() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

underline(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#underline

weight

weight() -> int

X.weight() -> int

Supplemental documentation: Qt 5 reference:

int QFontInfo::weight() const

Returns the weight of the matched window system font.

See also QFont::weight() and bold().

Upstream PySide2 reference signatures (binding differences may apply):

weight(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qfontinfo.html#weight