digiKam
Loading...
Searching...
No Matches
localcontrastsettings.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2010-03-09
7 * Description : Local Contrast settings view.
8 * LDR ToneMapper zynaddsubfx.sourceforge.net/other/tonemapping
9 *
10 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Local includes
19
20#include <QWidget>
21
22// Local includes
23
24#include "digikam_export.h"
26
27class KConfigGroup;
28
29namespace Digikam
30{
31
32class DIGIKAM_EXPORT LocalContrastSettings : public QWidget
33{
34 Q_OBJECT
35
36public:
37
38 explicit LocalContrastSettings(QWidget* const parent);
39 ~LocalContrastSettings() override;
40
41 LocalContrastContainer defaultSettings() const;
42 void resetToDefault();
43
44 LocalContrastContainer settings() const;
45 void setSettings(const LocalContrastContainer& settings);
46
47 void readSettings(KConfigGroup& group);
48 void writeSettings(KConfigGroup& group);
49
50 void loadSettings();
51 void saveAsSettings();
52
53Q_SIGNALS:
54
56
57private Q_SLOTS:
58
59 void slotStageEnabled(int, bool);
60
61private:
62
63 class Private;
64 Private* const d = nullptr;
65};
66
67} // namespace Digikam
Definition localcontrastcontainer.h:29
Definition localcontrastsettings.h:33
Definition datefolderview.cpp:34