digiKam
channelmixer.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 : 2010-02-19
7  * Description : Channel Mixer batch tool.
8  *
9  * Copyright (C) 2010-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_BQM_CHANNEL_MIXER_H
25 #define DIGIKAM_BQM_CHANNEL_MIXER_H
26 
27 // Local includes
28 
29 #include "batchtool.h"
30 #include "mixersettings.h"
31 
32 using namespace Digikam;
33 
35 {
36 
37 class ChannelMixer : public BatchTool
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit ChannelMixer(QObject* const parent = nullptr);
44  ~ChannelMixer() override;
45 
46  BatchToolSettings defaultSettings() override;
47 
48  BatchTool* clone(QObject* const parent = nullptr) const override;
49 
50  void registerSettingsWidget() override;
51 
52 private:
53 
54  bool toolOperations() override;
55 
56 private Q_SLOTS:
57 
58  void slotAssignSettings2Widget() override;
59  void slotSettingsChanged() override;
60 
61 private:
62 
63  MixerSettings* m_settingsView;
64 };
65 
66 } // namespace DigikamBqmChannelMixerPlugin
67 
68 #endif // DIGIKAM_BQM_CHANNEL_MIXER_H
Definition: channelmixer.h:38
Definition: batchtool.h:56
Definition: mixersettings.h:42
Definition: channelmixer.cpp:41
Definition: datefolderview.cpp:43
QMap< QString, QVariant > BatchToolSettings
Definition: batchtool.h:48