123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef EVALREPORTWIDGET_H
- #define EVALREPORTWIDGET_H
- #include <QWidget>
- class ProjectInfo;
- class CMind;
- class PlotView;
- class QVBoxLayout;
- class QGridLayout;
- class QTabWidget;
- class QTableView;
- class QComboBox;
- class QLabel;
- class EvalReportWidget : public QWidget
- {
- Q_OBJECT
- public:
- explicit EvalReportWidget(ProjectInfo *proj, int indexType, QWidget *parent = nullptr);
- private:
- void initWidgets();
- void initLayouts();
- void loadAlgs();
- void loadData();
- void showIndexWeight();
- void showIndexWeightPlot();
- void showTechScore();
- void showSchemeScore();
- void makePlotClear(PlotView *plotView);
- void loadWeightData();
- private slots:
- void slotSelectIndexPlotType(int type);
- void slotSelectTechPlotType(int type);
- void slotSelectSchemePlotType(int type);
- void slotIndexTabIndexChanged(int index);
- private:
- ProjectInfo *m_proj = nullptr; // 项目
- int m_indexType; // 指标类型
- CMind *m_mind = nullptr;
- QWidget *m_view = nullptr;
- QVBoxLayout *m_layout = nullptr;
- QGridLayout *m_gridLayout = nullptr;
- QLabel *m_indexTitle = nullptr; // 指标权重标题
- QTabWidget *m_indexTab = nullptr; // 指标权重表
- PlotView *m_indexPlot = nullptr; // 指标权重图
- QComboBox *m_indexCombo = nullptr; // 切换指标权重图类型
- QLabel *m_techTitle = nullptr; // 指标得分标题
- QTableView *m_techTable = nullptr; // 指标得分表
- PlotView *m_techPlot = nullptr; // 指标得分图
- QComboBox *m_techCombo = nullptr; // 切换指标得分图类型
- QLabel *m_schemeTitle = nullptr; // 方案得分标题
- QTableView *m_schemeTable = nullptr; // 方案得分表
- PlotView *m_schemePlot = nullptr; // 方案得分图
- QComboBox *m_schemeCombo = nullptr; // 切换方案得分类型
- };
- #endif // EVALREPORTWIDGET_H
|