|
|
@ -33,6 +33,12 @@ void CUIComponentRadioGroup::iniUI(QVector<CUIPropertyWidget *> &subCUI)
|
|
|
|
mainLayout->addWidget(m_Component);
|
|
|
|
mainLayout->addWidget(m_Component);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this->setLayout(mainLayout);
|
|
|
|
this->setLayout(mainLayout);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QVariant vOrigin = m_conf->getPropertyOriginValue("value_origin");
|
|
|
|
|
|
|
|
int *ptr = qvariant_cast<int *>(vOrigin);
|
|
|
|
|
|
|
|
if (ptr != nullptr) {
|
|
|
|
|
|
|
|
m_ButtonGroup->button(*ptr)->setChecked(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CUIComponentRadioGroup::iniUI_GroupBox()
|
|
|
|
void CUIComponentRadioGroup::iniUI_GroupBox()
|
|
|
|