dd1f4a161421396d0db10b2474e1e828c9c817ac
[colorflood] / colorflood / src / window.hpp
1 /*
2   Copyright 2010 Serge Ziryukin <ftrvxmtrx@gmail.com>
3
4   This program is free software; you can redistribute it and/or modify
5   it under the terms of the GNU General Public License as published by
6   the Free Software Foundation; version 2 of the License.
7
8   This program is distributed in the hope that it will be useful,
9   but WITHOUT ANY WARRANTY; without even the implied warranty of
10   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   GNU General Public License for more details.
12 */
13
14 #ifndef _WINDOW_HPP
15 #define _WINDOW_HPP
16
17 #include <QWidget>
18
19 class ColorButtons;
20 class Field;
21 class QLabel;
22
23 class Window : public QWidget
24 {
25     Q_OBJECT;
26
27 public:
28     Window ();
29
30 private slots:
31     void updateTurns (int turns);
32     void toggleFullscreen ();
33
34 private:
35     ColorButtons *colorButtons;
36     Field *field;
37     QLabel *turnsLabel;
38 };
39
40 #endif // !_WINDOW_HPP