digiKam
Loading...
Searching...
No Matches
dplugindialog.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 : 2018-12-31
7
* Description : digiKam plugin main dialog
8
*
9
* SPDX-FileCopyrightText: 2018-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 <QDialog>
20
#include <QDialogButtonBox>
21
22
// Local includes
23
24
#include "
digikam_export.h
"
25
26
namespace
Digikam
27
{
28
29
class
DPlugin;
30
31
class
DIGIKAM_EXPORT
DPluginDialog
:
public
QDialog
32
{
33
Q_OBJECT
34
35
public
:
36
37
explicit
DPluginDialog
(QWidget*
const
parent,
const
QString& objName);
38
~DPluginDialog
()
override
;
39
40
void
setPlugin(
DPlugin
*
const
tool);
41
42
private
Q_SLOTS:
43
44
void
slotAboutPlugin();
45
void
slotOnlineHandbook();
46
47
protected
:
48
49
void
showEvent(QShowEvent*)
override
;
50
51
QDialogButtonBox* m_buttons =
nullptr
;
52
53
private
:
54
55
DPlugin
* m_tool =
nullptr
;
56
57
Q_DISABLE_COPY(
DPluginDialog
)
58
};
59
60
}
// namespace Digikam
Digikam::DPluginDialog
Definition
dplugindialog.h:32
Digikam::DPlugin
Definition
dplugin.h:51
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
libs
dplugins
widgets
dplugindialog.h
Generated by
1.9.8