From 6a72f2f15c9f39b2a851b955b9b87abede8d0257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 9 Nov 2020 22:12:41 +0100 Subject: initial work --- labb4/qgameoverwindow.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 labb4/qgameoverwindow.h (limited to 'labb4/qgameoverwindow.h') 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 +#include +#include +#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 -- cgit v1.2.1