#ifndef APPINFOWIDGET_H #define APPINFOWIDGET_H #include class QVBoxLayout; class QGridLayout; class QHBoxLayout; class QLabel; class PushButton; class AppInfoWidget : public QWidget { Q_OBJECT public: explicit AppInfoWidget(QWidget *parent = nullptr); signals: private: void initilaize(); void initLayout(); void refresh(); private: /// 图标,版本号,更新内容,构建时间,当前环境,版权声明 QVBoxLayout *m_vBoxLayout = nullptr; QGridLayout *m_gridLayout = nullptr; QLabel *m_iconLabel = nullptr; QLabel *m_verNameLabel = nullptr; QLabel *m_verValueLabel = nullptr; QLabel *m_contentNameLabel = nullptr; QLabel *m_contentValueLabel = nullptr; QLabel *m_dateNameLabel = nullptr; QLabel *m_dateValueLabel = nullptr; QLabel *m_envNameLabel = nullptr; QLabel *m_envValueLabel = nullptr; QLabel *m_copyRightLabel = nullptr; QHBoxLayout *m_hBoxLayout = nullptr; PushButton *m_confirmButton = nullptr; }; #endif // APPINFOWIDGET_H