#pragma once #include "ui_ParamSetUI.h" typedef struct _ParamSet { int nColorAdd; _ParamSet() { nColorAdd = 0; } }PARAM_SET,*LPPARAM_SET; class ParamSetUI:public QWidget { Q_OBJECT; public: //define a construction and a destruction ParamSetUI(QWidget* parent = nullptr); ~ParamSetUI(); Ui::Form ui; //define a function to process the button event void OnConfirmBtnClicked(); public: PARAM_SET m_ParamSet; };