EvaluateView.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef EVALUATEVIEW_H
  2. #define EVALUATEVIEW_H
  3. #include <QWidget>
  4. class ProjectListWidget;
  5. class EvaluateOptionWidget;
  6. class SchemeWidget;
  7. class LineEdit;
  8. class ToolButton;
  9. class PushButton;
  10. class RadioButton;
  11. class QVBoxLayout;
  12. class QHBoxLayout;
  13. class QLabel;
  14. class QTableWidget;
  15. class QTabWidget;
  16. /// 评估数据页面
  17. class EvaluateView : public QWidget
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit EvaluateView(QWidget *parent = nullptr);
  22. void showEvent(QShowEvent *event) override;
  23. void hideEvent(QHideEvent *event) override;
  24. signals:
  25. private:
  26. void initialize();
  27. void initLayout();
  28. void connectSigalsAndSlots();
  29. private slots:
  30. void slotSchemeClicked();
  31. private:
  32. bool m_initilized = false;
  33. QHBoxLayout *m_hBoxLayout = nullptr;
  34. QWidget *m_listWidget = nullptr;
  35. QVBoxLayout *m_listLayout = nullptr;
  36. LineEdit *m_searchLineEdit = nullptr;
  37. ProjectListWidget *m_projListWidget = nullptr;
  38. QWidget *m_projDetailWidget = nullptr;
  39. QVBoxLayout *m_dataLayout = nullptr;
  40. QLabel *m_projNameLabel = nullptr;
  41. QHBoxLayout *m_strategyLayout = nullptr;
  42. RadioButton *m_resultButton = nullptr;
  43. RadioButton *m_matrixButton = nullptr;
  44. PushButton *m_schemeButton = nullptr;
  45. QTabWidget *m_tabWidget = nullptr;
  46. QHBoxLayout *m_pageLayout = nullptr;
  47. QLabel *m_pageLabel = nullptr;
  48. PushButton *m_lastPageButton = nullptr;
  49. PushButton *m_nextPageButton = nullptr;
  50. QWidget *m_separator = nullptr;
  51. EvaluateOptionWidget *m_optionWidget = nullptr;
  52. SchemeWidget *m_schemeWidget = nullptr;
  53. };
  54. #endif // EVALUATEVIEW_H