summaryrefslogtreecommitdiff
path: root/src/settingsdialoggeneral.h
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2020-01-06 05:17:01 -0700
committerGitHub <noreply@github.com>2020-01-06 05:17:01 -0700
commitdfa600996c49c1b23dca884c963dc917bd9cfc0a (patch)
treec6def4277cc962822d0dcde71fa9148e050f693f /src/settingsdialoggeneral.h
parente69078e2399a88bda7bb9ffae7a3d57db9a4e9cf (diff)
parentd1a788dfad341b32235abc25c2ba1645f8be1ace (diff)
Merge pull request #954 from ModOrganizer2/Develop
Stage for release 2.2.2
Diffstat (limited to 'src/settingsdialoggeneral.h')
-rw-r--r--src/settingsdialoggeneral.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/settingsdialoggeneral.h b/src/settingsdialoggeneral.h
new file mode 100644
index 00000000..455edcaf
--- /dev/null
+++ b/src/settingsdialoggeneral.h
@@ -0,0 +1,29 @@
+#ifndef SETTINGSDIALOGGENERAL_H
+#define SETTINGSDIALOGGENERAL_H
+
+#include "settingsdialog.h"
+#include "settings.h"
+
+class GeneralSettingsTab : public SettingsTab
+{
+public:
+ GeneralSettingsTab(Settings& settings, SettingsDialog& dialog);
+
+ void update();
+
+private:
+ void addLanguages();
+ void selectLanguage();
+
+ void addStyles();
+ void selectStyle();
+
+ void resetDialogs();
+
+ void onExploreStyles();
+ void onEditCategories();
+ void onResetColors();
+ void onResetDialogs();
+};
+
+#endif // SETTINGSDIALOGGENERAL_H