digiKam
sheartool.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-12-23
7  * Description : a tool to shear 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_SHEAR_TOOL_H
25 #define DIGIKAM_EDITOR_SHEAR_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 ShearTool(QObject* const parent);
43  ~ShearTool() override;
44 
45 private Q_SLOTS:
46 
47  void slotResetSettings() override;
48  void slotColorGuideChanged();
49 
50 private:
51 
52  void readSettings() override;
53  void writeSettings() override;
54  void preparePreview() override;
55  void prepareFinal() override;
56  void setPreviewImage() override;
57  void setFinalImage() override;
58 
59 private:
60 
61  class Private;
62  Private* const d;
63 };
64 
65 } // namespace DigikamEditorShearToolPlugin
66 
67 #endif // DIGIKAM_EDITOR_SHEAR_TOOL_H
Definition: sheartool.h:37
Definition: editortool.h:136
Definition: sheartool.cpp:52
Definition: datefolderview.cpp:43