summaryrefslogtreecommitdiff
path: root/src/settingsdialoguserinterface.h
blob: 0c3c7fb7c4fa68edc10a7c0f0f95a788cccec0a1 (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
27
#ifndef SETTINGSDIALOGUSERINTERFACE_H
#define SETTINGSDIALOGUSERINTERFACE_H

#include <QCheckBox>

#include "settingsdialog.h"
#include "settings.h"

class UserInterfaceSettingsTab : public SettingsTab
{
public:
  UserInterfaceSettingsTab(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