#ifndef DATACOLLECTIONWIDGET_H #define DATACOLLECTIONWIDGET_H #include "EvalWidget.h" class ConfigExpertDataWidget; class ConfigMeasureDataWidget; class ConfigSchemeDataWidget; class CreateSchemeWidget; class NodeMatrixInfo; class DataEvaluator; class UserConfig; class QFUser; class PushButton; class QTabWidget; class QHBoxLayout; class QComboBox; /** * @brief The DataCollectionWidget class * 数据采集 */ class DataCollectionWidget : public EvalWidget { Q_OBJECT public: explicit DataCollectionWidget(ProjectInfo *proj, QWidget *parent); void setType(int type) override; private: void setupTabWidget(); private slots: void slotTabCurrentChanged(int index); void slotCalc(); void slotImportData(UserConfig *config); void slotConfigSelectionChanged(); void slotAddScheme(); void slotDeleteScheme(); void slotAddSchemeInfo(const QString name, const QString remark, const QString path); void slotAddMeasureData(); void slotCurrentMeasureDataSelected(); void slotMeasureDataEdited(NodeMatrixInfo *info); signals: private: ConfigExpertDataWidget *m_configExpert = nullptr; ConfigMeasureDataWidget *m_configMeasure = nullptr; ConfigSchemeDataWidget *m_configScheme = nullptr; QComboBox *m_comboBox = nullptr; PushButton *m_calcBtn = nullptr; CreateSchemeWidget *m_addSchemeWidget = nullptr; DataEvaluator *m_evaluator = nullptr; }; #endif // DATACOLLECTIONWIDGET_H