settingspage.h 837 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef SETTINGSPAGE_H
  2. #define SETTINGSPAGE_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. class QSpinBox;
  14. QT_END_NAMESPACE
  15. class SettingsPage : public QWidget
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit SettingsPage(QWidget *parent = nullptr);
  20. signals:
  21. private:
  22. // 客户端配置
  23. QLineEdit *examContentDirLineEdit; // 考试内容存放目录
  24. QSpinBox *windowXSpinBox; // 考试窗口位置
  25. QSpinBox *windowYSpinBox; // 考试窗口位置
  26. QLineEdit *examAnswerDirLineEdit; // 考试答案临时存放路径
  27. // 服务端配置
  28. QLineEdit *answerDirLineEdit; // 考试答案临时存放路径
  29. QSpinBox *lockMaxTimeSpinBox;
  30. };
  31. #endif // SETTINGSPAGE_H