2013-07-14 19:26:53 +01:00
|
|
|
#ifndef INSTANCESETTINGS_H
|
|
|
|
#define INSTANCESETTINGS_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2013-07-14 21:01:30 +01:00
|
|
|
#include "settingsobject.h"
|
2013-07-14 19:26:53 +01:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class InstanceSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
class InstanceSettings : public QDialog
|
|
|
|
{
|
2013-07-15 23:30:32 +01:00
|
|
|
Q_OBJECT
|
2013-07-14 19:26:53 +01:00
|
|
|
|
|
|
|
public:
|
2013-07-15 23:30:32 +01:00
|
|
|
explicit InstanceSettings(SettingsObject *s, QWidget *parent = 0);
|
|
|
|
~InstanceSettings();
|
2013-07-14 19:26:53 +01:00
|
|
|
|
2013-07-15 23:30:32 +01:00
|
|
|
void updateCheckboxStuff();
|
2013-07-14 19:26:53 +01:00
|
|
|
|
2013-07-15 23:30:32 +01:00
|
|
|
void applySettings();
|
|
|
|
void loadSettings();
|
2013-08-26 03:34:37 +01:00
|
|
|
protected:
|
|
|
|
virtual void showEvent ( QShowEvent* );
|
2013-07-14 19:26:53 +01:00
|
|
|
private slots:
|
2013-07-15 23:30:32 +01:00
|
|
|
void on_customCommandsGroupBox_toggled(bool arg1);
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
2013-07-14 19:26:53 +01:00
|
|
|
|
|
|
|
private:
|
2013-07-15 23:30:32 +01:00
|
|
|
Ui::InstanceSettings *ui;
|
|
|
|
SettingsObject * m_obj;
|
2013-07-14 19:26:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INSTANCESETTINGS_H
|