Skip to content

PythonQt.QtGui.QFontComboBox · declarations 001

Back to PythonQt.QtGui.QFontComboBox

AllFonts instance-attribute

AllFonts: Any

FontFilter instance-attribute

FontFilter: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

FontFilters instance-attribute

FontFilters: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

MonospacedFonts instance-attribute

MonospacedFonts: Any

NonScalableFonts instance-attribute

NonScalableFonts: Any

ProportionalFonts instance-attribute

ProportionalFonts: Any

ScalableFonts instance-attribute

ScalableFonts: Any

activated

activated(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.activated; argument details are not documented.

addItem

addItem(icon: Any, text: Any, userData: Any) -> Any

X.addItem(icon, text, userData)

addItems

addItems(texts: Any) -> Any

X.addItems(texts)

autoCompletion instance-attribute

autoCompletion: Any

clearEditText

clearEditText() -> Any

X.clearEditText()

completer

completer() -> Any

X.completer() -> PythonQt.QtGui.QCompleter

contextMenuEvent

contextMenuEvent(e: Any) -> Any

X.contextMenuEvent(e)

currentData instance-attribute

currentData: Any

currentFont instance-attribute

currentFont: QFont

Qt 5 reference:

currentFont : QFont

This property holds the currently selected font

Access functions:

QFont currentFont() const
void setCurrentFont(const QFont \&f)

Notifier signal:

void currentFontChanged(const QFont \&font)

See also currentIndex and currentText.

Source: https://doc.qt.io/archives/qt-5.15/qfontcombobox.html#currentFont

currentFontChanged

currentFontChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.currentFontChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QFontComboBox::currentFontChanged(const QFont \&font)

This signal is emitted whenever the current font changes, with the new font.

Note: Notifier signal for property currentFont.

See also currentFont.

Source: https://doc.qt.io/archives/qt-5.15/qfontcombobox.html#currentFontChanged

currentIndex instance-attribute

currentIndex: Any

currentIndexChanged

currentIndexChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.currentIndexChanged; argument details are not documented.

currentText instance-attribute

currentText: Any

currentTextChanged

currentTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.currentTextChanged; argument details are not documented.

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.destroyed; argument details are not documented.

duplicatesEnabled instance-attribute

duplicatesEnabled: Any

editTextChanged

editTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.editTextChanged; argument details are not documented.

editable instance-attribute

editable: Any

event

event(e: Any) -> bool

X.event(e) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QFontComboBox::event(QEvent *e)

Reimplements: QComboBox::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, e: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qfontcombobox.html#event

findData

findData(data: Any, role: Any, arg2: flags) -> int

X.findData(data, role, flags) -> int

findText

findText(text: Any, arg1: flags) -> int

X.findText(text, flags) -> int

fontFilters instance-attribute

fontFilters: Any

Qt 5 reference:

fontFilters : FontFilters

This property holds the filter for the combobox

By default, all fonts are listed.

Access functions:

QFontComboBox::FontFilters fontFilters() const
void setFontFilters(QFontComboBox::FontFilters filters)

See also writingSystem.

Source: https://doc.qt.io/archives/qt-5.15/qfontcombobox.html#fontFilters

hideEvent

hideEvent(e: Any) -> Any

X.hideEvent(e)

hidePopup

hidePopup() -> Any

X.hidePopup()

highlighted

highlighted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFontComboBox.highlighted; argument details are not documented.

insertItem

insertItem(index: Any, icon: Any, text: Any, userData: Any) -> Any

X.insertItem(index, icon, text, userData)

insertItems

insertItems(index: Any, texts: Any) -> Any

X.insertItems(index, texts)

insertPolicy instance-attribute

insertPolicy: Any

insertSeparator

insertSeparator(index: Any) -> Any

X.insertSeparator(index)

isEditable

isEditable() -> bool

X.isEditable() -> bool

itemData

itemData(index: Any, role: Any) -> Any

X.itemData(index, role) -> object

itemDelegate

itemDelegate() -> Any

X.itemDelegate() -> PythonQt.QtGui.QAbstractItemDelegate