DataCollectionWidget.h 994 B

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