ParamSetUI.h 434 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "ui_ParamSetUI.h"
  3. typedef struct _ParamSet
  4. {
  5. int nColorAdd;
  6. _ParamSet()
  7. {
  8. nColorAdd = 0;
  9. }
  10. }PARAM_SET,*LPPARAM_SET;
  11. class ParamSetUI:public QWidget
  12. {
  13. Q_OBJECT;
  14. public:
  15. //define a construction and a destruction
  16. ParamSetUI(QWidget* parent = nullptr);
  17. ~ParamSetUI();
  18. Ui::Form ui;
  19. //define a function to process the button event
  20. void OnConfirmBtnClicked();
  21. public:
  22. PARAM_SET m_ParamSet;
  23. };