DataCollectionWidget.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. signals:
  31. private:
  32. ConfigExpertDataWidget *m_configExpert = nullptr;
  33. ConfigMeasureDataWidget *m_configMeasure = nullptr;
  34. ConfigSchemeDataWidget *m_configScheme = nullptr;
  35. QComboBox *m_comboBox = nullptr;
  36. PushButton *m_calcBtn = nullptr;
  37. };
  38. #endif // DATACOLLECTIONWIDGET_H