digiKam
cbtool.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-11
7  * Description : digiKam image editor Color Balance tool.
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_CB_TOOL_H
25 #define DIGIKAM_EDITOR_CB_TOOL_H
26 
27 #include <QObject>
28 
29 // Local includes
30 
31 #include "editortool.h"
32 
33 using namespace Digikam;
34 
36 {
37 
38 class CBTool : public EditorToolThreaded
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit CBTool(QObject* const parent);
45  ~CBTool() override;
46 
47 private Q_SLOTS:
48 
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 
60 private:
61 
62  class Private;
63  Private* const d;
64 };
65 
66 } // namespace DigikamEditorColorBalanceToolPlugin
67 
68 #endif // DIGIKAM_EDITOR_CB_TOOL_H
Definition: editortool.h:136
Definition: cbtool.cpp:49
Definition: datefolderview.cpp:43