src/config.h

Wed, 17 Jul 2013 18:46:47 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 17 Jul 2013 18:46:47 +0300
changeset 6
67b6ef6917ba
parent 5
3c04e05ab24f
child 10
bc1414343e19
permissions
-rw-r--r--

Now capable of actually launching demos

#ifndef CONFIG_H
#define CONFIG_H

#include <QDialog>
#include "main.h"
#include "types.h"

class QLineEdit;
class Ui_ConfigBox;

class ConfigBox : public QDialog {
	Q_OBJECT
	
public:
	explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 );
	virtual ~ConfigBox();
	void addPath( str path );
	void initFromSettings();
	
public slots:
	void addPath();
	void findPath();
	void delPath();
	void findZanBinary();
	void okPressed();
	void cancelPressed();
	
private:
	Ui_ConfigBox* ui;
	list<QLineEdit*> m_zanBinaries;
};

#endif // CONFIG_H

mercurial