#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: /// 用户名,账号id,账号类型 QVBoxLayout *m_vBoxLayout = nullptr; QLabel *m_iconLabel = nullptr; QGridLayout *m_gridLayout = 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