1234567891011121314151617181920212223242526272829303132 |
- #include "SettingView.h"
- #include "ExpertManageView.h"
- #include "AlgorithmManageView.h"
- #include "StandardManageView.h"
- #include <QTabWidget>
- #include <QBoxLayout>
- SettingView::SettingView(QWidget *parent) : QWidget(parent)
- {
- initWidgets();
- initLayout();
- }
- void SettingView::initWidgets()
- {
- m_tab = new QTabWidget(this);
- m_expert = new ExpertManageView(this);
- m_algorithm = new AlgorithmManageView(this);
- m_standard = new StandardManageView(this);
- }
- void SettingView::initLayout()
- {
- m_layout = new QVBoxLayout(this);
- m_layout->addWidget(m_tab);
- m_tab->addTab(m_expert, "专家信息管理");
- m_tab->addTab(m_algorithm, "算法管理");
- m_tab->addTab(m_standard, "标准管理");
- }
|