basedisplay_wgt.h 687 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef BASEDISPLAY_WGT_H
  2. #define BASEDISPLAY_WGT_H
  3. #include <QWidget>
  4. #include <QPushButton>
  5. #include <QHBoxLayout>
  6. #include "infotree_wgt.h"
  7. namespace Ui {
  8. class BaseDisplay_wgt;
  9. }
  10. class BaseDisplay_wgt : public QWidget
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit BaseDisplay_wgt(QWidget *parent = nullptr);
  15. ~BaseDisplay_wgt();
  16. void init_ui(QWidget *para);
  17. private:
  18. Ui::BaseDisplay_wgt *ui;
  19. QVBoxLayout *wgt_layout ;
  20. QWidget *current_page;
  21. QWidget *tree_page;
  22. QWidget *m_tree_path_displaWgt;//绘制路径
  23. InfoTree_wgt *treeWidgetExample;
  24. void set_wgt(QWidget *w);
  25. void get_par();//获取参数树
  26. void back();
  27. };
  28. #endif // BASEDISPLAY_WGT_H