changeQuestion.h 644 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef CHANGEQUESTION_H
  2. #define CHANGEQUESTION_H
  3. #include <QWidget>
  4. namespace Ui {
  5. class changeQuestion;
  6. }
  7. class changeQuestion : public QWidget
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit changeQuestion( QWidget *parent = nullptr);
  12. ~changeQuestion();
  13. void setUI(const int nLeft, const int nTop, const int nWidth, const int nHeight);
  14. void showBtn(int nType);
  15. signals:
  16. void previousQuestion();
  17. void nextQuestion();
  18. private slots:
  19. void on_btn_cq_previous_clicked();
  20. void on_btn_cq_next_clicked();
  21. private:
  22. Ui::changeQuestion *ui;
  23. QString sStyle;
  24. QString sDisableStyle;
  25. };
  26. #endif // CHANGEQUESTION_H