暫無描述

mainwindow.h 782B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include <QGraphicsScene>
  5. #include <QTimer>
  6. #include "frog.h"
  7. namespace Ui {
  8. class MainWindow;
  9. }
  10. class MainWindow : public QMainWindow
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit MainWindow(QWidget *parent = 0);
  15. ~MainWindow();
  16. void quadraticFormulaCheck();
  17. private slots:
  18. void on_RunPushButton_clicked();
  19. void on_retryButton_clicked();
  20. void on_alineEdit_textChanged(const QString &arg1);
  21. void on_blineEdit_textChanged(const QString &arg1);
  22. void on_clineEdit_textChanged(const QString &arg1);
  23. void clearTheTextBoxes();
  24. bool aTextBoxIsEmpty();
  25. private:
  26. Ui::MainWindow *ui;
  27. QGraphicsScene*scene;
  28. QTimer *globalTimer;
  29. frog *frogger;
  30. };
  31. #endif // MAINWINDOW_H