#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>

class Window : public QWidget
{
	Q_OBJECT
	const int squareSize;
	int x, y;
	int dx, dy;

public:
	explicit Window(QWidget *parent = 0);

protected:
	void mousePressEvent(QMouseEvent *event);
	void paintEvent(QPaintEvent *event);
};

#endif // WINDOW_H
