summaryrefslogtreecommitdiffstats
path: root/gui/instancesettings.h
blob: afbd0c1666c85665224d3d656c8705f720deb883 (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
#ifndef INSTANCESETTINGS_H
#define INSTANCESETTINGS_H

#include <QDialog>
#include "settingsobject.h"

namespace Ui {
class InstanceSettings;
}

class InstanceSettings : public QDialog
{
	Q_OBJECT
    
public:
	explicit InstanceSettings(SettingsObject *s, QWidget *parent = 0);
	~InstanceSettings();

	void updateCheckboxStuff();

	void applySettings();
	void loadSettings();
    
private slots:
	void on_customCommandsGroupBox_toggled(bool arg1);
	void on_buttonBox_accepted();
	void on_buttonBox_rejected();

private:
	Ui::InstanceSettings *ui;
	SettingsObject * m_obj;
};

#endif // INSTANCESETTINGS_H