digiKam
dpluginsetup.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 : 2007-02-06
7
* Description : Config panel for generic dplugins.
8
*
9
* Copyright (C) 2018-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_DPLUGIN_SETUP_H
25
#define DIGIKAM_DPLUGIN_SETUP_H
26
27
// Qt includes
28
29
#include <QWidget>
30
31
// Local includes
32
33
#include "
searchtextbar.h
"
34
#include "
digikam_export.h
"
35
#include "
dpluginaction.h
"
36
37
class
QTreeWidgetItem;
38
39
namespace
Digikam
40
{
41
42
class
DPluginConfView;
43
44
class
DIGIKAM_EXPORT
DPluginSetup
:
public
QWidget
45
{
46
Q_OBJECT
47
48
public
:
49
50
explicit
DPluginSetup
(QWidget*
const
parent =
nullptr
);
51
~
DPluginSetup
()
override
;
52
53
void
setPluginConfView(
DPluginConfView
*
const
view);
54
void
applySettings();
55
56
private
Q_SLOTS:
57
58
void
slotSearchTextChanged(
const
SearchTextSettings
& settings);
59
void
slotSetFilter(
const
QString& filter, Qt::CaseSensitivity cs);
60
void
slotCheckAll();
61
void
slotClearList();
62
void
slotItemClicked();
63
void
slotSearchResult(
int
found);
64
void
slotAboutPlugin(QTreeWidgetItem*,
int
);
65
66
private
:
67
68
void
updateInfo();
69
70
private
:
71
72
class
Private;
73
Private*
const
d;
74
};
75
76
}
// namespace Digikam
77
78
#endif
// DIGIKAM_DPLUGIN_SETUP_H
Digikam::DPluginConfView
Definition:
dpluginconfview.h:43
Digikam::DPluginSetup
Definition:
dpluginsetup.h:45
Digikam::SearchTextSettings
Definition:
searchtextbar.h:43
digikam_export.h
dpluginaction.h
Digikam
Definition:
datefolderview.cpp:43
searchtextbar.h
core
libs
dplugins
setup
dpluginsetup.h
Generated by
1.9.1