summaryrefslogtreecommitdiff
path: root/src/solverwindow.h
blob: 17cb55c6c23b2b2949528b6dc92b0484e09e8fba (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

#ifndef __INCLUDED_SUDOKUSOLVER_SOLVERWINDOW__
#define __INCLUDED_SUDOKUSOLVER_SOLVERWINDOW__

#include <QWidget>

#include "sudoku.h"

class SudokuWidget;

class SolverWindow : public QWidget
{
	Q_OBJECT
	
public:
	SolverWindow();

public slots:
	
	void load();
	void saveas();
	void revert();
	void solve();
	void search();
	void step();
	void step_constraints();
	void step_coverage();
	void clear();
	void validate();
	
private:
	SudokuWidget	*solverwindow_sudokuwidget;
	Sudoku		solverwindow_revertstate;
};

#endif // __INCLUDED_SUDOKUSOLVER_SOLVERWINDOW__