update version
[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 class QAction;
23
24 class Window : public QWidget
25 {
26     Q_OBJECT;
27
28 public:
29     Window ();
30
31 private slots:
32     void updateTurns (int turns);
33     void fullScreenMode ();
34     void colorScheme ();
35     void lessCells ();
36     void moreCells ();
37     void help ();
38
39 private:
40     ColorButtons *colorButtons;
41     Field *field;
42     QLabel *turnsLabel;
43     QAction *less;
44     QAction *more;
45 };
46
47 #endif // !_WINDOW_HPP