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.
17 lines
327 B
C++
17 lines
327 B
C++
#include "CUIPushButton.h"
|
|
|
|
#include<CUIConfig.h>
|
|
#include<CUI.h>
|
|
|
|
CUIPushButton::CUIPushButton(CUIConfig* conf, QVector<CUI*> &subCUI, QWidget *parent) : QPushButton(parent)
|
|
{
|
|
this->conf = conf;
|
|
iniUI(subCUI);
|
|
}
|
|
|
|
void CUIPushButton::iniUI(QVector<CUI*> &subCUI)
|
|
{
|
|
this->setText(conf->getPropertyValue("name"));
|
|
}
|
|
|