examquestionpage.h 810 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef EXAMQUESTIONPAGE_H
  2. #define EXAMQUESTIONPAGE_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 ExamsQuestionPage : public QWidget
  15. {
  16. Q_OBJECT
  17. public:
  18. explicit ExamsQuestionPage(QWidget *parent = nullptr);
  19. void updateExamsView();
  20. void addExamsQuestion();
  21. void setDefault();
  22. void removeExamsQuestion();
  23. void save();
  24. void getDir();
  25. void getFile();
  26. signals:
  27. private:
  28. QLineEdit *examsLineEdit;
  29. QTableView *examsView;
  30. Pagination *pagination;
  31. QComboBox *pageSize;
  32. QLineEdit *examsNameLineEdit;
  33. QLineEdit *fileDirLineEdit;
  34. QCheckBox *selectCheckBox;
  35. };
  36. #endif // EXAMQUESTIONPAGE_H