digiKam
sharpentool.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 : 2004-07-09
7  * Description : a tool to sharp an image
8  *
9  * Copyright (C) 2004-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
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)
15  * any later version.
16  *
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.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_EDITOR_SHARPEN_TOOL_H
25 #define DIGIKAM_EDITOR_SHARPEN_TOOL_H
26 
27 // Local includes
28 
29 #include "editortool.h"
30 
31 using namespace Digikam;
32 
34 {
35 
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit SharpenTool(QObject* const parent);
43  ~SharpenTool() override;
44 
45 private Q_SLOTS:
46 
47  void slotSaveAsSettings() override;
48  void slotLoadSettings() override;
49  void slotResetSettings() override;
50  void slotSettingsChanged();
51 
52 private:
53 
54  void readSettings() override;
55  void writeSettings() override;
56  void preparePreview() override;
57  void prepareFinal() override;
58  void setPreviewImage() override;
59  void setFinalImage() override;
60  void renderingFinished() override;
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace DigikamEditorSharpenToolPlugin
69 
70 #endif // DIGIKAM_EDITOR_SHARPEN_TOOL_H
Definition: editortool.h:136
Definition: sharpentool.cpp:57
Definition: datefolderview.cpp:43