123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef SCHEMEPLANWIDGET_H
- #define SCHEMEPLANWIDGET_H
- #include "EvalWidget.h"
- #include "SchemePlanManager.h"
- class PushButton;
- // class QTextEdit;
- /**
- * @brief The SchemePlanWidget class
- * 方案规划页面
- */
- class SchemePlanWidget : public EvalWidget
- {
- Q_OBJECT
- public:
- SchemePlanWidget(ProjectInfo *proj, QWidget *parent = nullptr);
- void setType(int type) override;
- void setupUI();
- /// 方案流程模板
- /// 当项目中没有评估方案时, 可加载此处的模板
- static QList<SchemePlanManager::SchemeProcessInfo> templateSchemes(int projId, int indexType);
- private:
- void setupTabWidget();
- bool hasData(QString indexName) const;
- private slots:
- void slotExportClicked();
- void slotSchemeProcessEdited(const SchemePlanManager::SchemeProcessInfo &process);
- void slotTabCurrentChanged(int c);
- private:
- PushButton *m_export = nullptr;
- // QTextEdit *m_description = nullptr;
- };
- #endif // SCHEMEPLANWIDGET_H
|