Skip to content

PythonQt.Qt.QComboBox · declarations 001

Back to PythonQt.Qt.QComboBox

activated

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

Native PythonQt.Qt.QComboBox.activated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::activated(int index)

This signal is sent when the user chooses an item in the combobox. The item's index is passed. Note that this signal is sent even when the choice is not changed. If you need to know when the choice actually changes, use signal currentIndexChanged() or currentTextChanged().

Note: Signal activated is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(comboBox, QOverload<int>::of(&QComboBox::activated),
    [=](int index){ /* ... */ });

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#activated

currentIndexChanged

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

Native PythonQt.Qt.QComboBox.currentIndexChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::currentIndexChanged(int index)

This signal is sent whenever the currentIndex in the combobox changes either through user interaction or programmatically. The item's index is passed or -1 if the combobox becomes empty or the currentIndex was reset.

Note: Notifier signal for property currentIndex.

Note: Signal currentIndexChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(comboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
    [=](int index){ /* ... */ });

This function was introduced in Qt 4.1.

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#currentIndexChanged

currentTextChanged

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

Native PythonQt.Qt.QComboBox.currentTextChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::currentTextChanged(const QString \&text)

This signal is sent whenever currentText changes. The new value is passed as text.

Note: Notifier signal for property currentText.

This function was introduced in Qt 5.0.

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#currentTextChanged

customContextMenuRequested

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

Native PythonQt.Qt.QComboBox.customContextMenuRequested; argument details are not documented.

destroyed

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

Native PythonQt.Qt.QComboBox.destroyed; argument details are not documented.

editTextChanged

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

Native PythonQt.Qt.QComboBox.editTextChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::editTextChanged(const QString \&text)

This signal is emitted when the text in the combobox's line edit widget is changed. The new text is specified by text.

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#editTextChanged

highlighted

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

Native PythonQt.Qt.QComboBox.highlighted; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::highlighted(int index)

This signal is sent when an item in the combobox popup list is highlighted by the user. The item's index is passed.

Note: Signal highlighted is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(comboBox, QOverload<int>::of(&QComboBox::highlighted),
    [=](int index){ /* ... */ });

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#highlighted

objectNameChanged

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

Native PythonQt.Qt.QComboBox.objectNameChanged; argument details are not documented.

textActivated

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

Native PythonQt.Qt.QComboBox.textActivated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::textActivated(const QString \&text)

This signal is sent when the user chooses an item in the combobox. The item's text is passed. Note that this signal is sent even when the choice is not changed. If you need to know when the choice actually changes, use signal currentIndexChanged() or currentTextChanged().

This function was introduced in Qt 5.14.

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#textActivated

textHighlighted

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

Native PythonQt.Qt.QComboBox.textHighlighted; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QComboBox::textHighlighted(const QString \&text)

This signal is sent when an item in the combobox popup list is highlighted by the user. The item's text is passed.

This function was introduced in Qt 5.14.

Source: https://doc.qt.io/archives/qt-5.15/qcombobox.html#textHighlighted

windowIconChanged

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

Native PythonQt.Qt.QComboBox.windowIconChanged; argument details are not documented.

windowIconTextChanged

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

Native PythonQt.Qt.QComboBox.windowIconTextChanged; argument details are not documented.

windowTitleChanged

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

Native PythonQt.Qt.QComboBox.windowTitleChanged; argument details are not documented.