digiKam
Loading...
Searching...
No Matches
toolsettingsview.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 : 2008-11-27
7 * Description : a view to show Batch Tool Settings.
8 *
9 * SPDX-FileCopyrightText: 2008-2024 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// Qt includes
18
19#include <QStackedWidget>
20
21// Local includes
22
23#include "batchtool.h"
24#include "batchtoolutils.h"
25
26namespace Digikam
27{
28
29class ToolSettingsView : public QStackedWidget
30{
31 Q_OBJECT
32
33public:
34
35 explicit ToolSettingsView(QWidget* const parent = nullptr);
36 ~ToolSettingsView() override;
37
38 void setBusy(bool b);
39
40Q_SIGNALS:
41
43
44public Q_SLOTS:
45
46 void slotToolSelected(const BatchToolSet&);
47
48private Q_SLOTS:
49
50 void slotSettingsChanged(const BatchToolSettings&);
51 void slotThemeChanged();
52 void slotAboutPlugin();
53 void slotHelpPlugin();
54
55private:
56
57 int viewMode() const;
58 void setViewMode(int mode);
59 void setToolSettingsWidget(QWidget* const w);
60
61private:
62
63 class Private;
64 Private* const d = nullptr;
65};
66
67} // namespace Digikam
Definition batchtoolutils.h:43
Definition toolsettingsview.h:30
void setBusy(bool b)
Definition toolsettingsview.cpp:204
~ToolSettingsView() override
Definition toolsettingsview.cpp:166
void slotToolSelected(const BatchToolSet &)
Definition toolsettingsview.cpp:264
void signalSettingsChanged(const BatchToolSet &)
Definition datefolderview.cpp:34
QMap< QString, QVariant > BatchToolSettings
Definition batchtool.h:43