summaryrefslogtreecommitdiff
path: root/src/settingsdialogmodlist.h
blob: 4489eacdfaf997a46eb1b5b56af5223e799dbce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef SETTINGSDIALOGMODLIST_H
#define SETTINGSDIALOGMODLIST_H

#include <QCheckBox>

#include "settings.h"
#include "settingsdialog.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