| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef EXAMQUESTIONPAGE_H
- #define EXAMQUESTIONPAGE_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 ExamsQuestionPage : public QWidget
- {
- Q_OBJECT
- public:
- explicit ExamsQuestionPage(QWidget *parent = nullptr);
- void updateExamsView();
- void addExamsQuestion();
- void setDefault();
- void removeExamsQuestion();
- void save();
- void getDir();
- void getFile();
- signals:
- private:
- QLineEdit *examsLineEdit;
- QTableView *examsView;
- Pagination *pagination;
- QComboBox *pageSize;
- QLineEdit *examsNameLineEdit;
- QLineEdit *fileDirLineEdit;
- QLineEdit *examsMaxTimeLineEdit;
- QCheckBox *selectCheckBox;
- };
- #endif // EXAMQUESTIONPAGE_H
|