2013-07-14 23:56:53 +05:30
|
|
|
#ifndef INSTANCESETTINGS_H
|
|
|
|
#define INSTANCESETTINGS_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2013-07-15 01:31:30 +05:30
|
|
|
#include "settingsobject.h"
|
2013-07-14 23:56:53 +05:30
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class InstanceSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
class InstanceSettings : public QDialog
|
|
|
|
{
|
2013-07-16 04:00:32 +05:30
|
|
|
Q_OBJECT
|
2013-07-14 23:56:53 +05:30
|
|
|
|
|
|
|
public:
|
2013-07-16 04:00:32 +05:30
|
|
|
explicit InstanceSettings(SettingsObject *s, QWidget *parent = 0);
|
|
|
|
~InstanceSettings();
|
2013-07-14 23:56:53 +05:30
|
|
|
|
2013-07-16 04:00:32 +05:30
|
|
|
void updateCheckboxStuff();
|
2013-07-14 23:56:53 +05:30
|
|
|
|
2013-07-16 04:00:32 +05:30
|
|
|
void applySettings();
|
|
|
|
void loadSettings();
|
2013-07-14 23:56:53 +05:30
|
|
|
|
|
|
|
private slots:
|
2013-07-16 04:00:32 +05:30
|
|
|
void on_customCommandsGroupBox_toggled(bool arg1);
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
2013-07-14 23:56:53 +05:30
|
|
|
|
|
|
|
private:
|
2013-07-16 04:00:32 +05:30
|
|
|
Ui::InstanceSettings *ui;
|
|
|
|
SettingsObject * m_obj;
|
2013-07-14 23:56:53 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INSTANCESETTINGS_H
|