DataCollectionWidget.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. class QComboBox;
  13. /**
  14. * @brief The DataCollectionWidget class
  15. * 数据采集
  16. */
  17. class DataCollectionWidget : public EvalWidget
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit DataCollectionWidget(ProjectInfo *proj, QWidget *parent);
  22. void setType(int type) override;
  23. private:
  24. void setupTabWidget();
  25. private slots:
  26. void slotTabCurrentChanged(int index);
  27. void slotCalc();
  28. void slotImportData(UserConfig *config);
  29. void slotConfigSelected(UserConfig *config);
  30. void slotAddScheme();
  31. void slotAddData();
  32. signals:
  33. private:
  34. ConfigExpertDataWidget *m_configExpert = nullptr;
  35. ConfigMeasureDataWidget *m_configMeasure = nullptr;
  36. ConfigSchemeDataWidget *m_configScheme = nullptr;
  37. QComboBox *m_comboBox = nullptr;
  38. PushButton *m_calcBtn = nullptr;
  39. };
  40. #endif // DATACOLLECTIONWIDGET_H