diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-29 20:03:47 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-29 20:03:47 +0100 |
| commit | 7610e3139408a8947795140a14a6bd396d4e0f71 (patch) | |
| tree | ec329fd049debd8f71e278ebba3280c6fe2270ce /src/settingsdialogmodlist.h | |
| parent | d0796b4ab23122d5f01378743d93f8c75b19c35c (diff) | |
Reorganize settingsdialog classes to match UI.
Diffstat (limited to 'src/settingsdialogmodlist.h')
| -rw-r--r-- | src/settingsdialogmodlist.h | 27 |
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 |
