1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a tool to sharp an image
9
* Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
24
#ifndef IMAGEEFFECT_SHARPEN_H
25
#define IMAGEEFFECT_SHARPEN_H
29
#include "ctrlpaneldlg.h"
35
class KDoubleNumInput;
42
namespace DigikamImagesPluginCore
45
class ImageEffect_Sharpen : public Digikam::CtrlPanelDlg
51
ImageEffect_Sharpen(QWidget *parent);
52
~ImageEffect_Sharpen();
58
void readUserSettings();
59
void slotSharpMethodActived(int);
63
void writeUserSettings();
68
void putPreviewData();
70
void renderingFinished();
81
QWidgetStack *m_stack;
83
QComboBox *m_sharpMethod;
85
KIntNumInput *m_matrixSize;
86
KIntNumInput *m_radiusInput;
87
KIntNumInput *m_radiusInput2;
89
KDoubleNumInput *m_radius;
90
KDoubleNumInput *m_gauss;
91
KDoubleNumInput *m_correlation;
92
KDoubleNumInput *m_noise;
93
KDoubleNumInput *m_amountInput;
94
KDoubleNumInput *m_thresholdInput;
99
} // NameSpace DigikamImagesPluginCore
101
#endif /* IMAGEEFFECT_SHARPEN_H */