MultiMC5/gui/instancesettings.h

35 lines
605 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();
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