mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
35 lines
605 B
C++
35 lines
605 B
C++
#ifndef INSTANCESETTINGS_H
|
|
#define INSTANCESETTINGS_H
|
|
|
|
#include <QDialog>
|
|
#include "settingsobject.h"
|
|
|
|
namespace Ui {
|
|
class InstanceSettings;
|
|
}
|
|
|
|
class InstanceSettings : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit InstanceSettings(SettingsObject *s, QWidget *parent = 0);
|
|
~InstanceSettings();
|
|
|
|
void updateCheckboxStuff();
|
|
|
|
void applySettings();
|
|
void loadSettings();
|
|
|
|
private slots:
|
|
void on_customCommandsGroupBox_toggled(bool arg1);
|
|
void on_buttonBox_accepted();
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
Ui::InstanceSettings *ui;
|
|
SettingsObject * m_obj;
|
|
};
|
|
|
|
#endif // INSTANCESETTINGS_H
|