| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef STUDENTPAGE_H
- #define STUDENTPAGE_H
- #include <QWidget>
- QT_BEGIN_NAMESPACE
- class QTableView;
- class QLabel;
- class QTextEdit;
- class QLineEdit;
- class QComboBox;
- class QAbstractItemModel;
- class QCheckBox;
- class Pagination;
- QT_END_NAMESPACE
- class StudentPage : public QWidget
- {
- Q_OBJECT
- public:
- explicit StudentPage(QWidget *parent = nullptr);
- void updateStudentView();
- void addStudent();
- void setOffline();
- void removeStudent();
- void save();
- void Clear();
- void importFile();
- void exportFile();
- signals:
- private:
- QTableView *studentView;
- Pagination *pagination;
- QComboBox *pageSize;
- QLineEdit *studentNameLineEdit;
- QLineEdit *studentSwLineEdit;
- QLineEdit *examineeNumberLineEdit;
- QLineEdit *checkinNumberLineEdit; //考试组队
- QComboBox *groupNameComboBox; //组别
- QLineEdit *examsTestLineEdit; // 开始内容
- };
- #endif // STUDENTPAGE_H
|