123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef EXEVALVIEW_H
- #define EXEVALVIEW_H
- #include <QWidget>
- #include "ProjectManager.h"
- class ProjectInfo;
- class PushButton;
- class QVBoxLayout;
- class QHBoxLayout;
- class QLabel;
- class QTabWidget;
- class EXEvalView : public QWidget
- {
- Q_OBJECT
- public:
- explicit EXEvalView(ProjectInfo *proj, QWidget *parent = nullptr);
- ProjectInfo *proj() const;
- void setProject(ProjectInfo *proj);
- int type() const;
- virtual void setType(int type);
- // 包含的指标体系类型
- QList<ProjectManager::IndexType> indexList() const;
- void setTitle(const QString title);
- void initWidgets();
- void initLayout();
- protected:
- ProjectInfo *m_proj = nullptr;
- int m_type = 0; // 评估类型
- QTabWidget *m_tab = nullptr;
- QVBoxLayout *m_layout = nullptr;
- QHBoxLayout *m_topLayout = nullptr;
- QHBoxLayout *m_contentLayout = nullptr;
- QLabel *m_title = nullptr;
- QWidget *m_seperator = nullptr;
- };
- #endif // EXEVALVIEW_H
|