awWaitExam.h 812 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef AWWAITEXAM_H
  2. #define AWWAITEXAM_H
  3. #include <QWidget>
  4. #include "CHttpBll.h"
  5. #include <QTimer>
  6. namespace Ui {
  7. class awWaitExam;
  8. }
  9. class awWaitExam : public QWidget
  10. {
  11. Q_OBJECT
  12. signals:
  13. void enterExam();
  14. void exitEaxm();
  15. void gobackLogin();
  16. public:
  17. explicit awWaitExam(QWidget *parent = nullptr);
  18. ~awWaitExam();
  19. void setUI(const int nLeft, const int nTop, const int nWidth, const int nHeight);
  20. private slots:
  21. void onStartExam(CStartExam startExam);
  22. void onGetExamProperty(CGetExamProperty getExamProperty);
  23. void onGetExamRecordPaperStruct(CGetExamRecordPaperStruct getExamRecordPaperStruct);
  24. void on_btn_we_startExam_clicked();
  25. private:
  26. Ui::awWaitExam *ui;
  27. std::shared_ptr<QTimer> m_pTimer;
  28. int nCountDownCount;
  29. bool bHasStruct;
  30. };
  31. #endif // AWWAITEXAM_H