e97b602af3e18c1a30ecb460cd6ec0eaa48cf029
[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
33 private:
34     ColorButtons *colorButtons;
35     Field *field;
36     QLabel *turnsLabel;
37 };
38
39 #endif // !_WINDOW_HPP