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/CUIRadioButton.cpp

18 lines
324 B
C++

#include "CUIRadioButton.h"
#include<CUIConfig.h>
#include<CUI.h>
#include<QDebug>
CUIRadioButton::CUIRadioButton(CUIConfig* conf, QVector<CUI*> subCUI,QWidget *parent) : QRadioButton(parent)
{
this->conf = conf;
iniUI();
}
void CUIRadioButton::iniUI()
{
this->setText(conf->getPropertyValue("name"));
}