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.
AppFlow/CFDStruct/CUIProperty/CUIComponentRadioButton.h

30 lines
580 B
C++

#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