#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <base/generic.h>
#include <cron/watchdog.h>
//#include <base/kickstart.h>
#include <backtracker.h>
/*
namespace Ui {
	class MainWindow;
}
*/

#include "ui_mainwindow.h"

class QGraphicsScene;

using namespace Backtrack;

typedef SQt::Generic::Widget<Ui::MainWindow> MainWindowT;

class MainWindow : public MainWindowT, private SQt::Cron::InitEvent
{
	Q_OBJECT

public:
	explicit MainWindow(QWidget *parent = 0);
	//~MainWindow();

private:
	void resizeEvent ( QResizeEvent * event ) override;
	void initEvent() override;
	QGraphicsScene* Scene;
	int Boardsize;
private slots:
	//void drawProgress(Tracker::StatesT s, int counter, Trackable::ListT st);
};



#endif // MAINWINDOW_H
