digiKam
blurfxtool.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2005-02-09
7  * Description : a tool to apply Blur FX to images
8  *
9  * Copyright 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright 2006-2012 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 DIGIKAM_EDITOR_BLUR_FX_TOOL_H
26 #define DIGIKAM_EDITOR_BLUR_FX_TOOL_H
27 
28 // Local includes
29 
30 #include "editortool.h"
31 
32 using namespace Digikam;
33 
35 {
36 
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit BlurFXTool(QObject* const parent);
44  ~BlurFXTool() override;
45 
46 private Q_SLOTS:
47 
48  void slotEffectTypeChanged(int type);
49  void slotResetSettings() override;
50 
51 private:
52 
53  void readSettings() override;
54  void writeSettings() override;
55  void preparePreview() override;
56  void prepareFinal() override;
57  void setPreviewImage() override;
58  void setFinalImage() override;
59  void renderingFinished() override;
60  void blockWidgetSignals(bool b);
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace DigikamEditorBlurFxToolPlugin
69 
70 #endif // DIGIKAM_EDITOR_BLUR_FX_TOOL_H
Definition: editortool.h:136
Definition: blurfxtool.cpp:52
Definition: datefolderview.cpp:43