examquestionpage.h 770 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. signals:
  25. private:
  26. QLineEdit *examsLineEdit;
  27. QTableView *examsView;
  28. Pagination *pagination;
  29. QComboBox *pageSize;
  30. QLineEdit *examsNameLineEdit;
  31. QLineEdit *fileDirLineEdit;
  32. QCheckBox *selectCheckBox;
  33. };
  34. #endif // EXAMQUESTIONPAGE_H