Skip to content

PythonQt.Qt.QButtonGroup · declarations 001

Back to PythonQt.Qt.QButtonGroup

buttonClicked

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

Native PythonQt.Qt.QButtonGroup.buttonClicked; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::buttonClicked(QAbstractButton *button)

This signal is emitted when the given button is clicked. A button is clicked when it is first pressed and then released, when its shortcut key is typed, or when QAbstractButton::click() or QAbstractButton::animateClick() is programmatically called.

Note: Signal buttonClicked 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(buttonGroup, QOverload<QAbstractButton *>::of(&QButtonGroup::buttonClicked),
    [=](QAbstractButton *button){ /* ... */ });

See also checkedButton() and QAbstractButton::clicked().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#buttonClicked

buttonPressed

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

Native PythonQt.Qt.QButtonGroup.buttonPressed; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::buttonPressed(QAbstractButton *button)

This signal is emitted when the given button is pressed down.

Note: Signal buttonPressed 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(buttonGroup, QOverload<QAbstractButton *>::of(&QButtonGroup::buttonPressed),
    [=](QAbstractButton *button){ /* ... */ });

This function was introduced in Qt 4.2.

See also QAbstractButton::pressed().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#buttonPressed

buttonReleased

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

Native PythonQt.Qt.QButtonGroup.buttonReleased; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::buttonReleased(QAbstractButton *button)

This signal is emitted when the given button is released.

Note: Signal buttonReleased 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(buttonGroup, QOverload<QAbstractButton *>::of(&QButtonGroup::buttonReleased),
    [=](QAbstractButton *button){ /* ... */ });

This function was introduced in Qt 4.2.

See also QAbstractButton::released().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#buttonReleased

buttonToggled

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

Native PythonQt.Qt.QButtonGroup.buttonToggled; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::buttonToggled(QAbstractButton *button, bool checked)

This signal is emitted when the given button is toggled. checked is true if the button is checked, or false if the button is unchecked.

Note: Signal buttonToggled 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(buttonGroup, QOverload<QAbstractButton *, bool>::of(&QButtonGroup::buttonToggled),
    [=](QAbstractButton *button, bool checked){ /* ... */ });

This function was introduced in Qt 5.2.

See also QAbstractButton::toggled().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#buttonToggled

destroyed

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

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

idClicked

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

Native PythonQt.Qt.QButtonGroup.idClicked; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::idClicked(int id)

This signal is emitted when a button with the given id is clicked.

This function was introduced in Qt 5.15.

See also checkedButton() and QAbstractButton::clicked().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#idClicked

idPressed

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

Native PythonQt.Qt.QButtonGroup.idPressed; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::idPressed(int id)

This signal is emitted when a button with the given id is pressed down.

This function was introduced in Qt 5.15.

See also QAbstractButton::pressed().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#idPressed

idReleased

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

Native PythonQt.Qt.QButtonGroup.idReleased; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::idReleased(int id)

This signal is emitted when a button with the given id is released.

This function was introduced in Qt 5.15.

See also QAbstractButton::released().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#idReleased

idToggled

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

Native PythonQt.Qt.QButtonGroup.idToggled; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QButtonGroup::idToggled(int id, bool checked)

This signal is emitted when a button with the given id is toggled. checked is true if the button is checked, or false if the button is unchecked.

This function was introduced in Qt 5.15.

See also QAbstractButton::toggled().

Source: https://doc.qt.io/archives/qt-5.15/qbuttongroup.html#idToggled

objectNameChanged

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

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