bindschoolinfo.h 655 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef BINDSCHOOLINFO_H
  2. #define BINDSCHOOLINFO_H
  3. #include <QDialog>
  4. #include "ui_bindschoolinfo.h"
  5. #include <string>
  6. #include <vector>
  7. #include "basedialog.h"
  8. using namespace std;
  9. class CBindSchoolInfo : public CBaseDialog
  10. {
  11. Q_OBJECT
  12. public:
  13. CBindSchoolInfo(QWidget *parent = 0);
  14. ~CBindSchoolInfo();
  15. private slots:
  16. void slot_clickButton();
  17. void slot_comboxIndexChange(int index);
  18. private:
  19. void RequestSchoolInfo();
  20. void CheckBindSchool();
  21. Ui::CBindSchoolInfo ui;
  22. struct school_info
  23. {
  24. int schoolId;
  25. QString schoolName;
  26. QString schoolArea;
  27. QStringList manager;
  28. };
  29. vector<school_info> m_vctschool;
  30. };
  31. #endif // BINDSCHOOLINFO_H