DataCollectionWidget.h 908 B

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