sneedmc/gui/instancesettings.h

36 lines
652 B
C
Raw Normal View History

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