digiKam
Loading...
Searching...
No Matches
wstooldialog.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 : 2012-04-04
7 * Description : Web Service Tool dialog
8 *
9 * SPDX-FileCopyrightText: 2012-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// KDE includes
18
19#include <QDialog>
20#include <QDialogButtonBox>
21
22// Local includes
23
24#include "digikam_export.h"
25#include "dplugindialog.h"
26
27class QAbstractButton;
28class QPushButton;
29
30namespace Digikam
31{
32
33class DIGIKAM_EXPORT WSToolDialog : public DPluginDialog
34{
35 Q_OBJECT
36
37public:
38
39 explicit WSToolDialog(QWidget* const parent, const QString& objName);
40 ~WSToolDialog() override;
41
42 void setMainWidget(QWidget* const widget);
43
44 void setRejectButtonMode(QDialogButtonBox::StandardButton button);
45
46 QPushButton* startButton() const;
47
48 void addButton(QAbstractButton* button, QDialogButtonBox::ButtonRole role);
49
50private Q_SLOTS:
51
52 void slotCloseClicked();
53
54Q_SIGNALS:
55
57
58private:
59
60 class Private;
61 Private* const d = nullptr;
62};
63
64} // namespace Digikam
Definition dplugindialog.h:32
Definition wstooldialog.h:34
Definition datefolderview.cpp:34