~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/imageplugins/oilpaint/imageeffect_oilpaint.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream) (37 hardy)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-1bw3w3nrsso7yj4z
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2004-08-25
 
7
 * Description : a plugin to simulate Oil Painting
 
8
 * 
 
9
 * Copyright (C) 2004-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>
 
11
 * 
 
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)
 
16
 * any later version.
 
17
 * 
 
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.
 
22
 * 
 
23
 * ============================================================ */
 
24
 
 
25
#ifndef IMAGEEFFECT_OILPAINT_H
 
26
#define IMAGEEFFECT_OILPAINT_H
 
27
 
 
28
// Digikam includes.
 
29
 
 
30
#include "ctrlpaneldlg.h"
 
31
 
 
32
class KIntNumInput;
 
33
 
 
34
namespace DigikamOilPaintImagesPlugin
 
35
{
 
36
 
 
37
class ImageEffect_OilPaint : public Digikam::CtrlPanelDlg
 
38
{
 
39
    Q_OBJECT
 
40
 
 
41
public:
 
42
 
 
43
    ImageEffect_OilPaint(QWidget* parent);
 
44
    ~ImageEffect_OilPaint();
 
45
 
 
46
private slots:
 
47
 
 
48
    void readUserSettings();
 
49
 
 
50
private:
 
51
 
 
52
    void writeUserSettings();
 
53
    void resetValues();    
 
54
    void prepareEffect();
 
55
    void prepareFinal();
 
56
    void putPreviewData();
 
57
    void putFinalData();
 
58
    void renderingFinished();
 
59
 
 
60
private:
 
61
 
 
62
    KIntNumInput *m_brushSizeInput;
 
63
    KIntNumInput *m_smoothInput;
 
64
};
 
65
 
 
66
}  // NameSpace DigikamOilPaintImagesPlugin
 
67
 
 
68
#endif /* IMAGEEFFECT_OILPAINT_H */