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.
AppFlow/CFDStruct/CUIProperty/CUIComponentRadioGroup.h

58 lines
1.3 KiB
C++

/**
* 鍗曢€夋缁勪欢
*/
#ifndef CUICOMPONENTRADIOGROUP_H
#define CUICOMPONENTRADIOGROUP_H
#include "CUIComponentBaseContainerWidget.h"
#include "CUIComponentBase.h"
#include <QObject>
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<CUIPropertyWidget*>& subCUI,
QWidget* parent = nullptr);
private:
/**
* @brief iniUI娓叉煋ui
* @param subCUI瀛愮粍浠 */
void iniUI(QVector<CUIPropertyWidget*>& 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