1#ifndef QX_BUTTONGROUP_H
2#define QX_BUTTONGROUP_H
5#include "qx/widgets/qx_widgets_export.h"
9#include <QAbstractButton>
15class QX_WIDGETS_EXPORT ButtonGroup :
public QButtonGroup
18 Q_PROPERTY(QAbstractButton* checkedButton READ checkedButton NOTIFY checkedButtonChanged);
21 QAbstractButton* mCheckedButton;
25 explicit ButtonGroup(QObject* parent =
nullptr);
29 void updateCheckedButton();
32 void addButton(QAbstractButton* button,
int id = -1);
33 void removeButton(QAbstractButton* button);
37 void checkedButtonChanged(QAbstractButton* button);
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-abstracterror.cpp:13