1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a plugin to apply Distortion FX to an image.
9
* Copyright (C) 2005-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
* Copyright (C) 2006-2008 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
12
* Original Distortion algorithms copyrighted 2004-2005 by
13
* Pieter Z. Voloshyn <pieter dot voloshyn at gmail dot com>.
15
* This program is free software; you can redistribute it
16
* and/or modify it under the terms of the GNU General
17
* Public License as published by the Free Software Foundation;
18
* either version 2, or (at your option)
21
* This program is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* GNU General Public License for more details.
26
* ============================================================ */
28
#ifndef IMAGEEFFECT_DISTORTIONFX_H
29
#define IMAGEEFFECT_DISTORTIONFX_H
33
#include "imageguidedlg.h"
40
namespace DigikamDistortionFXImagesPlugin
43
class ImageEffect_DistortionFX : public Digikam::ImageGuideDlg
49
ImageEffect_DistortionFX(QWidget *parent);
50
~ImageEffect_DistortionFX();
54
void slotEffectTypeChanged(int type);
55
void readUserSettings();
59
void writeUserSettings();
63
void putPreviewData();
65
void renderingFinished();
69
QComboBox *m_effectType;
71
QLabel *m_effectTypeLabel;
73
QLabel *m_iterationLabel;
75
KIntNumInput *m_levelInput;
76
KIntNumInput *m_iterationInput;
79
} // NameSpace DigikamDistortionFXImagesPlugin
81
#endif /* IMAGEEFFECT_DISTORTIONFX_H */