summaryrefslogtreecommitdiffstats
path: root/labb4/qgameoverwindow.h
diff options
context:
space:
mode:
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