|
@@ -49,7 +49,7 @@ void EvalReportWidget::initWidgets()
|
|
|
DataTableItemModel *techModel = new DataTableItemModel();
|
|
|
m_techTable->setModel(techModel);
|
|
|
m_techTable->setFixedSize(s);
|
|
|
- m_techPlot = new PlotView(PlotView::Line, data, "", this);
|
|
|
+ m_techPlot = new PlotView(PlotView::HistogramHorizontal, data, "", this);
|
|
|
m_techPlot->setFixedSize(s);
|
|
|
|
|
|
m_schemeTitle = new QLabel(this);
|
|
@@ -61,7 +61,7 @@ void EvalReportWidget::initWidgets()
|
|
|
DataTableItemModel *schemeModel = new DataTableItemModel();
|
|
|
m_schemeTable->setModel(schemeModel);
|
|
|
m_schemeTable->setFixedSize(s);
|
|
|
- m_schemePlot = new PlotView(PlotView::Line, data, "", this);
|
|
|
+ m_schemePlot = new PlotView(PlotView::HistogramVertical, data, "", this);
|
|
|
m_schemePlot->setFixedSize(s);
|
|
|
|
|
|
QStringList plots = { "折线图", "横向柱状图", "竖向柱状图", "曲线图", "面积图" };
|
|
@@ -71,6 +71,7 @@ void EvalReportWidget::initWidgets()
|
|
|
m_indexCombo->addItems(plots);
|
|
|
connect(m_indexCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(slotSelectIndexPlotType(int)));
|
|
|
|
|
|
+ plots = QStringList { "竖向柱状图" };
|
|
|
m_techCombo = new QComboBox(this);
|
|
|
m_techCombo->setFixedSize(QSize(150, 35));
|
|
|
m_techCombo->addItems(plots);
|
|
@@ -113,7 +114,12 @@ void EvalReportWidget::initLayouts()
|
|
|
|
|
|
if (m_indexType == ProjectManager::OptimalIndex || m_indexType == ProjectManager::EfficiencyIndex) {
|
|
|
m_schemeTitle = new QLabel(this);
|
|
|
- m_schemeTitle->setText("方案得分");
|
|
|
+ if (m_indexType == ProjectManager::OptimalIndex) {
|
|
|
+ m_schemeTitle->setText("方案得分");
|
|
|
+ } else {
|
|
|
+ m_schemeTitle->setText("效能分析");
|
|
|
+ }
|
|
|
+
|
|
|
m_schemeTitle->setFont(ft);
|
|
|
m_schemeTitle->setFixedHeight(100);
|
|
|
m_schemeTitle->setContentsMargins(0, 50, 0, 10);
|