DataCollectionWidget.h 720 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef DATACOLLECTIONWIDGET_H
  2. #define DATACOLLECTIONWIDGET_H
  3. #include "EvalWidget.h"
  4. class ConfigExpertDataWidget;
  5. class ConfigMeasureDataWidget;
  6. class PushButton;
  7. class QTabWidget;
  8. class QHBoxLayout;
  9. /**
  10. * @brief The DataCollectionWidget class
  11. * 数据采集
  12. */
  13. class DataCollectionWidget : public EvalWidget
  14. {
  15. Q_OBJECT
  16. public:
  17. explicit DataCollectionWidget(ProjectInfo *proj, QWidget *parent);
  18. void setType(int type) override;
  19. private:
  20. void setupTabWidget();
  21. private slots:
  22. void slotTabCurrentChanged(int index);
  23. signals:
  24. private:
  25. ConfigExpertDataWidget *m_configExpert = nullptr;
  26. ConfigMeasureDataWidget *m_configMeasure = nullptr;
  27. };
  28. #endif // DATACOLLECTIONWIDGET_H