AboutView.h 639 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 resizeEvent(QResizeEvent *event) override;
  18. void initialize();
  19. signals:
  20. private:
  21. bool m_initilized = false;
  22. QVBoxLayout *m_vBoxLayout = nullptr;
  23. AppInfoWidget *m_appInfoWidget = nullptr;
  24. QLabel *m_bgLabel = nullptr;
  25. QPixmap pixmap;
  26. };
  27. #endif // ABOUTVIEW_H