From 7610e3139408a8947795140a14a6bd396d4e0f71 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Fri, 29 Jan 2021 20:03:47 +0100 Subject: Reorganize settingsdialog classes to match UI. --- src/settingsdialogmodlist.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/settingsdialogmodlist.h (limited to 'src/settingsdialogmodlist.h') 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 + +#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 m_columnToBox; +}; + +#endif // SETTINGSDIALOGGENERAL_H -- cgit v1.3.1