You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#ifndef CUICOMPONENTRADIOBUTTON_H
|
|
|
|
|
#define CUICOMPONENTRADIOBUTTON_H
|
|
|
|
|
|
|
|
|
|
#include <QRadioButton>
|
|
|
|
|
#include <QVector>
|
|
|
|
|
#include "CUIComponentBaseWidget.h"
|
|
|
|
|
#include "CUIComponentBase.h"
|
|
|
|
|
|
|
|
|
|
class CUIConfig;
|
|
|
|
|
class CUI;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CUIComponentRadioButton : public CUIComponentBaseWidget, public CUIComponentBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CUIComponentRadioButton(CUIConfig* conf, QVector<CUI*> subCUI, QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void initUI(QVector<CUI*> &subCUI);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QRadioButton* m_radioButton = nullptr;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CUICOMPONENTRADIOBUTTON_H
|