clNoticePopWidget.h 545 B

12345678910111213141516171819202122232425262728
  1. #ifndef CLNOTICEPOPWIDGET_H
  2. #define CLNOTICEPOPWIDGET
  3. #include <QWidget>
  4. #include "CHttpBll.h"
  5. namespace Ui {
  6. class clNoticePopWidget;
  7. }
  8. class clNoticePopWidget : public QWidget
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit clNoticePopWidget(QWidget *parent = nullptr);
  13. ~clNoticePopWidget();
  14. void setUI(const int nLeft, const int nTop, const int nWidth, const int nHeight);
  15. void addNotice(const CNoticeInfo ni);
  16. int noticeCount();
  17. private:
  18. Ui::clNoticePopWidget *ui;
  19. std::vector<CNoticeInfo> vNL;
  20. };
  21. #endif // CLNOTICEPOPWIDGET_H