#include "CUIComponentRadioButton.h" #include #include #include #include CUIComponentRadioButton::CUIComponentRadioButton(CUIConfig* conf, QVector subCUI, QWidget *parent) : CUIComponentBaseWidget(parent) { this->m_conf = conf; initUI(subCUI); } void CUIComponentRadioButton::initUI(QVector &subCUI) { m_radioButton = new QRadioButton(m_conf->getPropertyValue("name")); QVBoxLayout* layout = new QVBoxLayout; layout->addWidget(m_radioButton); this->setLayout(layout); }