#ifndef ABOUTVIEW_H #define ABOUTVIEW_H #include class AppInfoWidget; class QVBoxLayout; class QLabel; /// /// \brief The AboutView class /// 关于页面 class AboutView : public QWidget { Q_OBJECT public: explicit AboutView(QWidget *parent = nullptr); private: void showEvent(QShowEvent *event) override; void hideEvent(QHideEvent *event) override; void resizeEvent(QResizeEvent *event) override; void initialize(); signals: private: bool m_initilized = false; QVBoxLayout *m_vBoxLayout = nullptr; AppInfoWidget *m_appInfoWidget = nullptr; QLabel *m_bgLabel = nullptr; QPixmap pixmap; }; #endif // ABOUTVIEW_H