My Project
|
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
Constructor. | |
~MainWindow () | |
Destructor. | |
void | addBird (int x, int y, Bird &b) |
Paints a bird into the MainWindow. More... | |
void | addBird (Bird &b) |
Paints a bird into the MainWindow. More... | |
Private Attributes | |
Ui::MainWindow * | ui |
QGraphicsScene * | scene |
void MainWindow::addBird | ( | int | x, |
int | y, | ||
Bird & | b | ||
) |
Paints a bird into the MainWindow.
x | X coordinate of the Main Window |
y | Y coordinate of the Main Window |
b | Bird object to be painted |
void MainWindow::addBird | ( | Bird & | b | ) |
Paints a bird into the MainWindow.
b | Bird object to be painted |