pollymc/gui/instancesettings.h

35 lines
605 B
C
Raw Normal View History

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