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

32 lines
700 B
C++

#ifndef CUICOMPONENTRADIOBUTTON_H
#define CUICOMPONENTRADIOBUTTON_H
#include <QRadioButton>
#include <QVector>
#include "CUIComponentBase.h"
#include "CUIComponentBaseWidget.h"
class CUIConfig;
class CUIPropertyWidget;
class CUIComponentRadioButton : public CUIComponentBaseWidget,
public CUIComponentBase
{
Q_OBJECT
public:
explicit CUIComponentRadioButton(CUIConfig* conf,
QVector<CUIPropertyWidget*> subCUI,
QWidget* parent = nullptr);
private:
void initUI(QVector<CUIPropertyWidget*>& subCUI);
signals:
private:
QRadioButton* m_radioButton = nullptr;
};
#endif // CUICOMPONENTRADIOBUTTON_H