| 50 | } |
| 51 | |
| 52 | void addButton(QAbstractButton *button, const QString &text = QString(), |
| 53 | bool checkable = false) { |
| 54 | button->setToolTip(text); |
| 55 | button->setCheckable(checkable); |
| 56 | |
| 57 | mLayout->addWidget(button); |
| 58 | mButtons.addButton(button, mButtons.buttons().size()); |
| 59 | } |
| 60 | |
| 61 | const QButtonGroup *buttonGroup() const { return &mButtons; } |
| 62 |
no test coverage detected