digiKam
Loading...
Searching...
No Matches
colorfxsettings.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 : 2012-11-08
7 * Description : Color effects settings view.
8 *
9 * SPDX-FileCopyrightText: 2012 by Alexander Dymo <adymo at kdevelop dot org>
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 "colorfxfilter.h"
25
26class KConfigGroup;
27
28namespace Digikam
29{
30
31class DIGIKAM_EXPORT ColorFXSettings : public QWidget
32{
33 Q_OBJECT
34
35public:
36
37 explicit ColorFXSettings(QWidget* const parent, bool useGenericImg = true);
38 ~ColorFXSettings() override;
39
40 ColorFXContainer defaultSettings() const;
41 void resetToDefault();
42
43 ColorFXContainer settings() const;
44 void setSettings(const ColorFXContainer& settings);
45
46 void readSettings(const KConfigGroup& group);
47 void writeSettings(KConfigGroup& group);
48
49 void startPreviewFilters();
50
51Q_SIGNALS:
52
54
55private:
56
57 void findLuts();
58 QString translateLuts(const QString& name) const;
59
60private Q_SLOTS:
61
62 void slotEffectTypeChanged(int type);
63
64private:
65
66 class Private;
67 Private* const d = nullptr;
68};
69
70} // namespace Digikam
Definition colorfxfilter.h:33
Definition colorfxsettings.h:32
Definition datefolderview.cpp:34