Commit f8f68e7d by grlabu

Upload New File

parent ef38fdb8
Showing with 34 additions and 0 deletions
#include "gameover.h"
#include "ui_gameover.h"
#include "mainmenu.h"
#include "mainwindow.h"
GameOver::GameOver(QWidget *parent)
: QDialog(parent)
, ui(new Ui::GameOver)
{
ui->setupUi(this);
}
GameOver::~GameOver()
{
delete ui;
}
void GameOver::on_pushButton_2_clicked()
{
MainWindow *mainWindow = new MainWindow();
// Show the MainMenu
mainWindow->show();
close();
}
void GameOver::on_pushButton_clicked()
{
mainmenu *mainmenu = new class mainmenu();
// Show the MainMenu
mainmenu->show();
close();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment