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
24
class
KConfigGroup;
25
26
namespace
Digikam
27
{
28
29
class
DIGIKAM_EXPORT
LensFunSettings
:
public
QWidget
30
{
31
Q_OBJECT
32
33
public
:
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
53
Q_SIGNALS:
54
55
void
signalSettingsChanged
();
56
57
private
:
58
59
class
Private;
60
Private*
const
d =
nullptr
;
61
};
62
63
}
// namespace Digikam
Digikam::LensFunContainer
Definition
lensfunfilter.h:25
Digikam::LensFunSettings
Definition
lensfunsettings.h:30
Digikam::LensFunSettings::signalSettingsChanged
void signalSettingsChanged()
digikam_export.h
lensfunfilter.h
Digikam
Definition
datefolderview.cpp:34
core
libs
dimg
filters
lens
lensfunsettings.h
Generated by
1.9.8