summaryrefslogtreecommitdiffstats
path: root/gui/instancesettings.h
blob: b6cdb92ce27162edd99cdbe52d926e08d85074a5 (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
35
#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();
protected:
	virtual void showEvent ( QShowEvent* );
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