summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
blob: 9eb16eac7c88af38794a6a173da08c33a6cb3894 (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

#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;

};

#endif // __INCLUDED_SUDOKUSOLVER_MAINWINDOW__