1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : Local Contrast settings view.
8
* LDR ToneMapper <http://zynaddsubfx.sourceforge.net/other/tonemapping>
10
* Copyright (C) 2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* ============================================================ */
25
#ifndef LOCALCONTRASTSETTINGS_H
26
#define LOCALCONTRASTSETTINGS_H
38
#include "digikam_export.h"
39
#include "localcontrastcontainer.h"
44
class LocalContrastSettingsPriv;
46
class DIGIKAM_EXPORT LocalContrastSettings : public QWidget
52
LocalContrastSettings(QWidget* parent);
53
~LocalContrastSettings();
55
LocalContrastContainer defaultSettings() const;
56
void resetToDefault();
58
LocalContrastContainer settings() const;
59
void setSettings(const LocalContrastContainer& settings);
61
void readSettings(KConfigGroup& group);
62
void writeSettings(KConfigGroup& group);
65
void saveAsSettings();
69
void signalSettingsChanged();
73
void slotStage1Enabled(bool);
74
void slotStage2Enabled(bool);
75
void slotStage3Enabled(bool);
76
void slotStage4Enabled(bool);
80
LocalContrastSettingsPriv* const d;
83
} // namespace Digikam
85
#endif /* LOCALCONTRASTSETTINGS_H */