summaryrefslogtreecommitdiff
path: root/src/settingsdialogmodlist.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2021-01-30 18:21:56 +0100
committerGitHub <noreply@github.com>2021-01-30 18:21:56 +0100
commit3b360162e1d16f0f54e4163a16efe56fb50152c7 (patch)
tree7c4184886251cf91ac0a6ad18d4a6641e6535b07 /src/settingsdialogmodlist.h
parentf53e5406d4292f484257178ec5733f6ceb116673 (diff)
parent76989e2b8f6dc3cea2c2e90813feb86af2ecad14 (diff)
Merge pull request #1386 from Holt59/update-settings-dialog
Update settings dialog.
Diffstat (limited to 'src/settingsdialogmodlist.h')
-rw-r--r--src/settingsdialogmodlist.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/settingsdialogmodlist.h b/src/settingsdialogmodlist.h
new file mode 100644
index 00000000..0c0510b5
--- /dev/null
+++ b/src/settingsdialogmodlist.h
@@ -0,0 +1,27 @@
+#ifndef SETTINGSDIALOGMODLIST_H
+#define SETTINGSDIALOGMODLIST_H
+
+#include <QCheckBox>
+
+#include "settingsdialog.h"
+#include "settings.h"
+
+class ModListSettingsTab : public SettingsTab
+{
+public:
+ ModListSettingsTab(Settings& settings, SettingsDialog& dialog);
+
+ void update() override;
+
+protected slots:
+
+ // enable/disable the collapsible separators group depending on
+ // the checkbox states
+ void updateCollapsibleSeparatorsGroup();
+
+private:
+
+ const std::map<int, QCheckBox*> m_columnToBox;
+};
+
+#endif // SETTINGSDIALOGGENERAL_H