summaryrefslogtreecommitdiffstats
path: root/gui/settingsdialog.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-01-15 18:46:27 -0600
committerAndrew <forkk@forkk.net>2013-01-15 18:46:27 -0600
commitf7e9a7523fdd8c9e2aaaf59f36fc4a702690b760 (patch)
tree83f8a441ec16cc5aed4b5e4e14b93351a9c6a3da /gui/settingsdialog.h
parentfce0f5df045f1d956cabeda41406001a037c9ab7 (diff)
downloadMultiMC-f7e9a7523fdd8c9e2aaaf59f36fc4a702690b760.tar
MultiMC-f7e9a7523fdd8c9e2aaaf59f36fc4a702690b760.tar.gz
MultiMC-f7e9a7523fdd8c9e2aaaf59f36fc4a702690b760.tar.lz
MultiMC-f7e9a7523fdd8c9e2aaaf59f36fc4a702690b760.tar.xz
MultiMC-f7e9a7523fdd8c9e2aaaf59f36fc4a702690b760.zip
Added settings dialog.
Diffstat (limited to 'gui/settingsdialog.h')
-rw-r--r--gui/settingsdialog.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/gui/settingsdialog.h b/gui/settingsdialog.h
new file mode 100644
index 00000000..3e9d9e0f
--- /dev/null
+++ b/gui/settingsdialog.h
@@ -0,0 +1,50 @@
+/* Copyright 2013 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef SETTINGSDIALOG_H
+#define SETTINGSDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class SettingsDialog;
+}
+
+class SettingsDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit SettingsDialog(QWidget *parent = 0);
+ ~SettingsDialog();
+
+ void updateCheckboxStuff();
+
+private slots:
+ void on_instDirBrowseBtn_clicked();
+
+ void on_modsDirBrowseBtn_clicked();
+
+ void on_lwjglDirBrowseBtn_clicked();
+
+ void on_compatModeCheckBox_clicked(bool checked);
+
+ void on_maximizedCheckBox_clicked(bool checked);
+
+private:
+ Ui::SettingsDialog *ui;
+};
+
+#endif // SETTINGSDIALOG_H