AppInfoWidget.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef APPINFOWIDGET_H
  2. #define APPINFOWIDGET_H
  3. #include <QWidget>
  4. class QVBoxLayout;
  5. class QGridLayout;
  6. class QHBoxLayout;
  7. class QLabel;
  8. class PushButton;
  9. class AppInfoWidget : public QWidget
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit AppInfoWidget(QWidget *parent = nullptr);
  14. signals:
  15. private:
  16. void initilaize();
  17. void initLayout();
  18. void refresh();
  19. private:
  20. /// 用户名,账号id,账号类型
  21. QVBoxLayout *m_vBoxLayout = nullptr;
  22. QLabel *m_iconLabel = nullptr;
  23. QGridLayout *m_gridLayout = nullptr;
  24. QLabel *m_verNameLabel = nullptr;
  25. QLabel *m_verValueLabel = nullptr;
  26. QLabel *m_contentNameLabel = nullptr;
  27. QLabel *m_contentValueLabel = nullptr;
  28. QLabel *m_dateNameLabel = nullptr;
  29. QLabel *m_dateValueLabel = nullptr;
  30. QLabel *m_envNameLabel = nullptr;
  31. QLabel *m_envValueLabel = nullptr;
  32. QLabel *m_copyRightLabel = nullptr;
  33. QHBoxLayout *m_hBoxLayout = nullptr;
  34. PushButton *m_confirmButton = nullptr;
  35. };
  36. #endif // APPINFOWIDGET_H