#ifndef CONTROLS_H
#define CONTROLS_H

#include <QSettings>
#include <QWidget>

class QLineEdit;
class QRadioButton;
class QPushButton;

class Controls : public QWidget
{
	Q_OBJECT
	QSettings settings;
	QLineEdit *e1, *e2;
	QRadioButton *r1, *r2, *rg[4];
	QPushButton *save, *revert;

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

public slots:
	void doRevert();
	void doSave();
};

#endif // CONTROLS_H
