Skip to content

ButtonGroup

Qt Base Class: QButtonGroup

Signature: QButtonGroup(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object
QButtonGroup
PySide6.QtWidgets
QButtonGroup(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

🛈 DocStrings

Bases: ObjectMixin, QButtonGroup

Container to organize groups of button widgets.

Source code in prettyqt\widgets\buttongroup.py
class ButtonGroup(core.ObjectMixin, QtWidgets.QButtonGroup):
    """Container to organize groups of button widgets."""

    def __getitem__(self, index: int) -> QtWidgets.QAbstractButton:
        return self.button(index)

⌗ Property table

Qt Property Type Doc
objectName QString
exclusive bool