SchemePlanWidget.h 676 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef SCHEMEPLANWIDGET_H
  2. #define SCHEMEPLANWIDGET_H
  3. #include "EvalWidget.h"
  4. #include "SchemePlanManager.h"
  5. class PushButton;
  6. /**
  7. * @brief The SchemePlanWidget class
  8. * 方案规划页面
  9. */
  10. class SchemePlanWidget : public EvalWidget
  11. {
  12. Q_OBJECT
  13. public:
  14. SchemePlanWidget(ProjectInfo *proj, QWidget *parent = nullptr);
  15. void setType(int type) override;
  16. void setupUI();
  17. private:
  18. void setupTabWidget();
  19. private slots:
  20. void slotExportClicked();
  21. void slotSchemeCreated();
  22. void slotSchemeProcessEdited(const SchemePlanManager::SchemeProcessInfo &process);
  23. private:
  24. PushButton *m_export = nullptr;
  25. };
  26. #endif // SCHEMEPLANWIDGET_H