summaryrefslogtreecommitdiffstats
path: root/labb4/qgameoverwindow.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-11-09 22:12:41 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-11-09 22:12:41 +0100
commit6a72f2f15c9f39b2a851b955b9b87abede8d0257 (patch)
tree53afef7ae52433d170fafd070941a5e57e6b44dc /labb4/qgameoverwindow.h
parent209bc7540a97bb238e70b9f9e248a0a0c756a4c0 (diff)
downloadtddd86-6a72f2f15c9f39b2a851b955b9b87abede8d0257.tar.gz
initial work
Diffstat (limited to 'labb4/qgameoverwindow.h')
-rw-r--r--labb4/qgameoverwindow.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/labb4/qgameoverwindow.h b/labb4/qgameoverwindow.h
new file mode 100644
index 0000000..2185d34
--- /dev/null
+++ b/labb4/qgameoverwindow.h
@@ -0,0 +1,35 @@
+/**
+ * TDDD86 Robots
+ * This file contains the declaration of the QGameOverWindow class.
+ * See qgameoverwindow.cpp for implementation of each member.
+ */
+
+#ifndef QGAMEOVERWINDOW_H
+#define QGAMEOVERWINDOW_H
+
+#include <QWidget>
+#include <QVBoxLayout>
+#include <QLabel>
+#include "qresetbutton.h"
+
+class QGameOverWindow : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit QGameOverWindow(QWidget *parent = 0);
+ ~QGameOverWindow();
+
+ QResetButton* getResetBtn() const;
+
+signals:
+
+public slots:
+
+private:
+
+ QVBoxLayout *layout = nullptr;
+ QLabel* gameover = nullptr;
+ QResetButton* reset = nullptr;
+};
+
+#endif // QGAMEOVERWINDOW_H