Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
krkane
/
Rüütli Vaev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f8f68e7d
authored
May 01, 2024
by
grlabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
ef38fdb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
Source/gameover.cpp
Source/gameover.cpp
0 → 100644
View file @
f8f68e7d
#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
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment