Debian Codegraph @

core/dplugins/bqm/enhance/blur/blur.h

raw
1 /* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2010-05-03
7 * Description : blur image batch tool.
8 *
9 * SPDX-FileCopyrightText: 2010-2026 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15 #pragma once
16
17 #include "batchtool.h"
18 #include "dnuminput.h"
19
20 using namespace Digikam;
21
22 namespace DigikamBqmBlurPlugin
23 {
24
25 class Blur : public BatchTool
26 {
27 Q_OBJECT
28
29 public:
30
31 explicit Blur(QObject* const parent = nullptr);
32 ~Blur() override = default;
33
34 BatchToolSettings defaultSettings() override;
35
36 BatchTool* clone(QObject* const parent = nullptr) const override;
37
38 void registerSettingsWidget() override;
39
40 private:
41
42 bool toolOperations() override;
43
44 private Q_SLOTS:
45
46 void slotAssignSettings2Widget() override;
47 void slotSettingsChanged() override;
48
49 private:
50
51 DIntNumInput* m_radiusInput = nullptr;
52 bool m_changeSettings = true;
53 };
54
55 } // namespace DigikamBqmBlurPlugin