6429eae208f55ee7a37f5ea5bb57c5b37b04dd33
[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     ~Window ();
30
31 private slots:
32     void updateTurns (int turns);
33
34 private:
35     ColorButtons *colorButtons;
36     Field *field;
37     QLabel *turnsLabel;
38 };
39
40 #endif // !_WINDOW_HPP