AboutView.h 688 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef ABOUTVIEW_H
  2. #define ABOUTVIEW_H
  3. #include <QWidget>
  4. class AppInfoWidget;
  5. class QVBoxLayout;
  6. class QLabel;
  7. ///
  8. /// \brief The AboutView class
  9. /// 关于页面
  10. class AboutView : public QWidget
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit AboutView(QWidget *parent = nullptr);
  15. private:
  16. void showEvent(QShowEvent *event) override;
  17. void hideEvent(QHideEvent *event) override;
  18. void resizeEvent(QResizeEvent *event) override;
  19. void initialize();
  20. signals:
  21. private:
  22. bool m_initilized = false;
  23. QVBoxLayout *m_vBoxLayout = nullptr;
  24. AppInfoWidget *m_appInfoWidget = nullptr;
  25. QLabel *m_bgLabel = nullptr;
  26. QPixmap pixmap;
  27. };
  28. #endif // ABOUTVIEW_H