digiKam
texturetool.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 : 2005-03-10
7  * Description : a tool to apply texture over an image
8  *
9  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2006-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_EDITOR_TEXTURE_TOOL_H
26 #define DIGIKAM_EDITOR_TEXTURE_TOOL_H
27 
28 // Qt includes
29 
30 #include <QString>
31 
32 // Local includes
33 
34 #include "editortool.h"
35 
36 using namespace Digikam;
37 
39 {
40 
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit TextureTool(QObject* const parent);
48  ~TextureTool() override;
49 
50 private Q_SLOTS:
51 
52  void slotResetSettings() override;
53 
54 private:
55 
56  void readSettings() override;
57  void writeSettings() override;
58  void preparePreview() override;
59  void prepareFinal() override;
60  void setPreviewImage() override;
61  void setFinalImage() override;
62 
63 private:
64 
65  class Private;
66  Private* const d;
67 };
68 
69 } // namespace DigikamEditorTextureToolPlugin
70 
71 #endif // DIGIKAM_EDITOR_TEXTURE_TOOL_H
Definition: editortool.h:136
Definition: texturetool.cpp:50
Definition: datefolderview.cpp:43