1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a digiKam image editor plugin to correct
10
* Copyright (C) 2008-2009 by Guillaume Castagnino <casta at xwing dot info>
11
* Copyright (C) 2005-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
13
* This program is free software; you can redistribute it
14
* and/or modify it under the terms of the GNU General
15
* Public License as published by the Free Software Foundation;
16
* either version 2, or (at your option)
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
24
* ============================================================ */
26
#ifndef WHITEBALANCETOOL_H
27
#define WHITEBALANCETOOL_H
31
#include "editortool.h"
38
using namespace Digikam;
40
namespace DigikamColorImagePlugin
43
class WhiteBalanceToolPriv;
45
class WhiteBalanceTool : public EditorToolThreaded
51
WhiteBalanceTool(QObject* parent);
56
void slotSaveAsSettings();
57
void slotLoadSettings();
58
void slotResetSettings();
59
void slotPickerColorButtonActived();
60
void slotColorSelectedFromOriginal(const Digikam::DColor&);
61
void slotColorSelectedFromTarget(const Digikam::DColor&);
62
void slotAutoAdjustExposure();
70
void putPreviewData();
72
void renderingFinished();
76
WhiteBalanceToolPriv* const d;
79
} // namespace DigikamColorImagePlugin
81
#endif /* WHITEBALANCETOOL_H */