1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef MAINWINDOW_H
- #define MAINWINDOW_H
-
- #include <QMainWindow>
- #include "bird.h"
- #include <QGraphicsScene>
-
- namespace Ui {
- class MainWindow;
- }
-
- class MainWindow : public QMainWindow
- {
- Q_OBJECT
-
- public:
-
-
-
-
-
- explicit MainWindow(QWidget *parent = 0);
-
-
-
-
-
-
- ~MainWindow();
-
-
-
-
-
-
-
-
-
-
-
-
- void addBird(int x, int y, Bird &b) ;
-
-
-
-
-
-
-
-
-
- void addBird(Bird &b) ;
-
- private:
- Ui::MainWindow *ui;
- QGraphicsScene *scene ;
- };
-
- #endif
|