/** * 鍗曢€夋缁勪欢 */ #ifndef CUICOMPONENTRADIOGROUP_H #define CUICOMPONENTRADIOGROUP_H #include "CUIComponentBaseContainerWidget.h" #include "CUIComponentBase.h" #include class CUIConfig; class CUIPropertyWidget; class QLabel; class QHBoxLayout; class QGroupBox; class QWidget; class QButtonGroup; class CUIComponentRadioGroup : public CUIComponentBaseContainerWidget, public CUIComponentBase { Q_OBJECT public: /** * @brief CUIComponentRadioGroup鏋勯€犲嚱鏁 * @param conf閰嶇疆淇℃伅 * @param subCUI瀛愮粍浠 * @param parent鐖剁粍浠 */ explicit CUIComponentRadioGroup(CUIConfig* conf, QVector& subCUI, QWidget* parent = nullptr); private: /** * @brief iniUI娓叉煋ui * @param subCUI瀛愮粍浠 */ void iniUI(QVector& subCUI); /** * @brief iniUI_GroupBox娓叉煋groupbox绫诲瀷 */ void iniUI_GroupBox(); /** * @brief iniUI_Component娓叉煋component绫诲瀷 */ void iniUI_Component(); QLabel* m_label; QLayout* m_layout; QGroupBox* m_GroupBox; QWidget* m_Component; QButtonGroup* m_ButtonGroup; signals: }; #endif // CUICOMPONENTRADIOGROUP_H