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.
16 lines
308 B
C++
16 lines
308 B
C++
3 weeks ago
|
#include "CUICheckBox.h"
|
||
|
|
||
|
#include<CUIConfig.h>
|
||
|
#include<CUI.h>
|
||
|
|
||
|
CUICheckBox::CUICheckBox(CUIConfig* conf, QVector<CUI*> &subCUI, QWidget *parent) : QCheckBox(parent)
|
||
|
{
|
||
|
this->conf = conf;
|
||
|
iniUI(subCUI);
|
||
|
}
|
||
|
|
||
|
void CUICheckBox::iniUI(QVector<CUI*> &subCUI)
|
||
|
{
|
||
|
this->setText(conf->property["name"]);
|
||
|
}
|