digiKam
bcgtool.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-06-05
7  * Description : digiKam image editor to adjust Brightness,
8  * Contrast, and Gamma of picture.
9  *
10  * Copyright (C) 2004 by Renchi Raju <renchi dot raju at gmail dot com>
11  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_EDITOR_BCG_TOOL_H
27 #define DIGIKAM_EDITOR_BCG_TOOL_H
28 
29 // Local includes
30 
31 #include "editortool.h"
32 
33 using namespace Digikam;
34 
36 {
37 
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit BCGTool(QObject* const parent);
45  ~BCGTool() 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 DigikamEditorBCGToolPlugin
67 
68 #endif // DIGIKAM_EDITOR_BCG_TOOL_H
Definition: bcgtool.h:39
Definition: editortool.h:136
Definition: bcgtool.cpp:51
Definition: datefolderview.cpp:43