mainwindow.h
#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 // MAINWINDOW_H
Ui
Definition: mainwindow.h:8
MainWindow::~MainWindow
~MainWindow()
Destructor.
Definition: mainwindow.cpp:40
MainWindow::addBird
void addBird(int x, int y, Bird &b)
Pinta un pajaro en la pantalla principal.
Definition: mainwindow.cpp:57
MainWindow::MainWindow
MainWindow(QWidget *parent=0)
Constructor.
Definition: mainwindow.cpp:17
MainWindow
Definition: mainwindow.h:12
Bird
Definition: bird.h:16