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.
20 lines
373 B
C++
20 lines
373 B
C++
3 weeks ago
|
#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->property["name"]);
|
||
|
// qDebug()<<"Radio ini "<<conf->property["name"];
|
||
|
|
||
|
}
|