OriginalWnd.h 697 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef ORIGINALWND_H
  2. #define ORIGINALWND_H
  3. #include <QMainWindow>
  4. #include "treeviewmanager.h"
  5. QT_BEGIN_NAMESPACE
  6. namespace Ui { class OriginalWnd; }
  7. QT_END_NAMESPACE
  8. class OriginalWnd : public QMainWindow
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit OriginalWnd(QWidget *parent = nullptr);
  13. ~OriginalWnd();
  14. QWidget* getWidgetLeft() const; // 访问 widget 的接口
  15. private slots:
  16. void on_ChartButton_clicked();
  17. void on_DoubleImageButton_clicked();
  18. void on_SingleImageButton_clicked();
  19. void updateTime();
  20. private:
  21. Ui::OriginalWnd *ui;
  22. TreeViewManager *treeViewManager; // 树视图管理器
  23. void initForm(); // 初始化表单控件
  24. };
  25. #endif // ORIGINALWND_H