123456789101112131415161718192021222324252627 |
- #include "IndexSystemWidget.h"
- #include <dbService/ClassSet.h>
- #include <CCanvas/CMindView.h>
- #include <CMind.h>
- #include <QLayout>
- IndexSystemWidget::IndexSystemWidget(ProjectInfo *proj, int type, QWidget *parent) : EvalWidget(proj, type, parent)
- {
- setTitle("指标体系设计");
- initWidgets();
- initLayout();
- }
- void IndexSystemWidget::initWidgets()
- {
- m_mindView = new CMindView(this);
- CMind *mind = new CMind(m_proj->id, m_type, m_mindView);
- m_mindView->setMind(mind);
- }
- void IndexSystemWidget::initLayout()
- {
- m_contentLayout->addWidget(m_mindView);
- }
|