blob: f18e6df1478fe381117356747b08f507c0ed9adc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
#define __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
#include <QtGui>
#include <QMainWindow>
class SudokuWidget;
class QAction;
class QMenu;
class SolverWindow;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
private:
void initActions();
void initMenus();
SolverWindow *mainwindow_solverwindow;
QMenu *mainwindow_gamemenu;
QMenu *mainwindow_movemenu;
// Game menu actions
QAction *action_new;
QAction *action_load;
QAction *action_save;
QAction *action_saveas;
QAction *action_quit;
// Move menu actions
QAction *action_hint;
QAction *action_step;
QAction *action_solve;
QAction *action_search;
};
#endif // __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
|