digiKam
Loading...
Searching...
No Matches
antivignettingsettings.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-15
7 * Description : Anti vignetting settings view.
8 *
9 * SPDX-FileCopyrightText: 2010-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"
25
26class KConfigGroup;
27
28namespace Digikam
29{
30
31class DIGIKAM_EXPORT AntiVignettingSettings : public QWidget
32{
33 Q_OBJECT
34
35public:
36
37 explicit AntiVignettingSettings(QWidget* parent);
38 ~AntiVignettingSettings() override;
39
40 AntiVignettingContainer defaultSettings() const;
41 void resetToDefault();
42
43 AntiVignettingContainer settings() const;
44 void setSettings(const AntiVignettingContainer& settings);
45
46 void readSettings(const KConfigGroup& group);
47 void writeSettings(KConfigGroup& group);
48
49 void setMaskPreviewPixmap(const QPixmap& pix);
50
51Q_SIGNALS:
52
54
55private Q_SLOTS:
56
57 void slotSettingsChanged();
58
59private:
60
61 class Private;
62 Private* const d = nullptr;
63};
64
65} // namespace Digikam
Definition antivignettingfilter.h:27
Definition antivignettingsettings.h:32
void setMaskPreviewPixmap(const QPixmap &pix)
Definition datefolderview.cpp:34