digiKam
lensautofixtool.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * Date : 2008-02-10
4  * Description : a tool to fix automatically camera lens aberrations
5  *
6  * Copyright (C) 2008 by Adrian Schroeter <adrian at suse dot de>
7  * Copyright (C) 2008-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
8  *
9  * This program is free software; you can redistribute it
10  * and/or modify it under the terms of the GNU General
11  * Public License as published by the Free Software Foundation;
12  * either version 2, or (at your option)
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * ============================================================ */
21 
22 #ifndef DIGIKAM_EDITOR_LENS_AUTO_FIX_TOOL_H
23 #define DIGIKAM_EDITOR_LENS_AUTO_FIX_TOOL_H
24 
25 // Local includes
26 
27 #include "editortool.h"
28 
29 using namespace Digikam;
30 
32 {
33 
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit LensAutoFixTool(QObject* const parent);
41  ~LensAutoFixTool() override;
42 
43 private Q_SLOTS:
44 
45  void slotLensChanged();
46  void slotResetSettings() override;
47 
48 private:
49 
50  void readSettings() override;
51  void writeSettings() override;
52  void preparePreview() override;
53  void prepareFinal() override;
54  void setPreviewImage() override;
55  void setFinalImage() override;
56 
57 private:
58 
59  class Private;
60  Private* const d;
61 };
62 
63 } // namespace DigikamEditorLensAutoFixToolPlugin
64 
65 #endif // DIGIKAM_EDITOR_LENS_AUTO_FIX_TOOL_H
Definition: editortool.h:136
Definition: lensautofixtool.cpp:56
Definition: datefolderview.cpp:43