digiKam
sharpen.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 : 2009-05-02
7  * Description : sharpen image batch tool.
8  *
9  * Copyright (C) 2009 by Matthias Welwarsky <matze at welwarsky dot de>
10  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
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_BQM_SHARPEN_H
26 #define DIGIKAM_BQM_SHARPEN_H
27 
28 #include "batchtool.h"
29 #include "sharpsettings.h"
30 
31 using namespace Digikam;
32 
34 {
35 
36 class Sharpen : public BatchTool
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit Sharpen(QObject* const parent = nullptr);
43  ~Sharpen() override;
44 
45  BatchToolSettings defaultSettings() override;
46 
47  BatchTool* clone(QObject* const parent = nullptr) const override;
48 
49  void registerSettingsWidget() override;
50 
51 private:
52 
53  bool toolOperations() override;
54 
55 private Q_SLOTS:
56 
57  void slotAssignSettings2Widget() override;
58  void slotSettingsChanged() override;
59 
60 private:
61 
62  SharpSettings* m_settingsView;
63 };
64 
65 } // namespace DigikamBqmSharpenPlugin
66 
67 #endif // DIGIKAM_BQM_SHARPEN_H
Definition: sharpen.h:37
Definition: batchtool.h:56
Definition: sharpsettings.h:97
Definition: sharpen.cpp:48
Definition: datefolderview.cpp:43
QMap< QString, QVariant > BatchToolSettings
Definition: batchtool.h:48