studentpage.h 934 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef STUDENTPAGE_H
  2. #define STUDENTPAGE_H
  3. #include <QWidget>
  4. QT_BEGIN_NAMESPACE
  5. class QTableView;
  6. class QLabel;
  7. class QTextEdit;
  8. class QLineEdit;
  9. class QComboBox;
  10. class QAbstractItemModel;
  11. class QCheckBox;
  12. class Pagination;
  13. QT_END_NAMESPACE
  14. class StudentPage : public QWidget
  15. {
  16. Q_OBJECT
  17. public:
  18. explicit StudentPage(QWidget *parent = nullptr);
  19. void updateStudentView();
  20. void addStudent();
  21. void setOffline();
  22. void removeStudent();
  23. void save();
  24. void Clear();
  25. void importFile();
  26. void exportFile();
  27. signals:
  28. private:
  29. QTableView *studentView;
  30. Pagination *pagination;
  31. QComboBox *pageSize;
  32. QLineEdit *studentNameLineEdit;
  33. QLineEdit *studentSwLineEdit;
  34. QLineEdit *examineeNumberLineEdit;
  35. QLineEdit *checkinNumberLineEdit; //考试组队
  36. QComboBox *groupNameComboBox; //组别
  37. QLineEdit *examsTestLineEdit; // 开始内容
  38. };
  39. #endif // STUDENTPAGE_H