digiKam
Loading...
Searching...
No Matches
nrsettings.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 : 2009-11-22
7 * Description : noise reduction settings view.
8 *
9 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Local includes
18
19#include <QWidget>
20
21// Local includes
22
23#include "digikam_export.h"
24#include "nrfilter.h"
25
26class KConfigGroup;
27
28namespace Digikam
29{
30
31class DIGIKAM_EXPORT NRSettings : public QWidget
32{
33 Q_OBJECT
34
35public:
36
37 explicit NRSettings(QWidget* const parent);
38 ~NRSettings() override;
39
40 NRContainer defaultSettings() const;
41 void resetToDefault();
42
43 NRContainer settings() const;
44 void setSettings(const NRContainer& settings);
45
46 void setEstimateNoise(bool b);
47 bool estimateNoise() const;
48
49 void readSettings(const KConfigGroup& group);
50 void writeSettings(KConfigGroup& group);
51
52 void loadSettings();
53 void saveAsSettings();
54
55Q_SIGNALS:
56
59
60private Q_SLOTS:
61
62 void slotDisableParameters(bool);
63
64private:
65
66 class Private;
67 Private* const d = nullptr;
68};
69
70} // namespace Digikam
Definition nrfilter.h:33
Definition nrsettings.h:32
void signalSettingsChanged()
Definition datefolderview.cpp:34