digiKam
Loading...
Searching...
No Matches
lensfunsettings.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * Date : 2008-02-10
4 * Description : a tool to fix automatically camera lens aberrations
5 *
6 * SPDX-FileCopyrightText: 2008 by Adrian Schroeter <adrian at suse dot de>
7 * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 *
11 * ============================================================ */
12
13#pragma once
14
15// Qt includes
16
17#include <QWidget>
18
19// Local includes
20
21#include "lensfunfilter.h"
22#include "digikam_export.h"
23
24class KConfigGroup;
25
26namespace Digikam
27{
28
29class DIGIKAM_EXPORT LensFunSettings : public QWidget
30{
31 Q_OBJECT
32
33public:
34
35 explicit LensFunSettings(QWidget* const parent = nullptr);
36 ~LensFunSettings() override;
37
38 void setEnabledCCA(bool b);
39 void setEnabledVig(bool b);
40 void setEnabledDist(bool b);
41 void setEnabledGeom(bool b);
42
43 LensFunContainer defaultSettings() const;
44 LensFunContainer settings() const;
45 void resetToDefault();
46
47 void assignFilterSettings(LensFunContainer& prm);
48 void setFilterSettings(const LensFunContainer& settings);
49
50 void readSettings(const KConfigGroup& group);
51 void writeSettings(KConfigGroup& group);
52
53Q_SIGNALS:
54
56
57private:
58
59 class Private;
60 Private* const d = nullptr;
61};
62
63} // namespace Digikam
Definition lensfunfilter.h:25
Definition lensfunsettings.h:30
Definition datefolderview.cpp:34