clObjectiveScore.h 712 B

123456789101112131415161718192021222324252627282930
  1. #ifndef CLOBJECTIVESCORE_H
  2. #define CLOBJECTIVESCORE_H
  3. #include <QWidget>
  4. #include "CHttpBll.h"
  5. namespace Ui {
  6. class clObjectiveScore;
  7. }
  8. class clObjectiveScore : public QWidget
  9. {
  10. Q_OBJECT
  11. signals:
  12. void objectiveScoreHeight(int nRow, int nHeight);
  13. public:
  14. explicit clObjectiveScore(int nRow, QString sExamStudentId, QWidget *parent = nullptr);
  15. ~clObjectiveScore();
  16. int getRow() { return m_nRow; }
  17. void setUI(const int nLeft, const int nTop, const int nWidth, const int nHeight);
  18. private slots:
  19. void onQueryObjectiveScoreList(CQueryObjectiveScoreList queryObjectiveScoreList);
  20. private:
  21. Ui::clObjectiveScore *ui;
  22. QString m_sExamStudentId;
  23. int m_nRow;
  24. };
  25. #endif // CLOBJECTIVESCORE_H