digiKam
Loading...
Searching...
No Matches
dwizarddlg.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 : 2009-11-13
7 * Description : a template to create wizard dialog.
8 *
9 * SPDX-FileCopyrightText: 2009-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 <QWizard>
20#include <QString>
21
22// Local includes
23
24#include "dplugin.h"
25#include "digikam_export.h"
26
27namespace Digikam
28{
29
30class DIGIKAM_EXPORT DWizardDlg : public QWizard
31{
32 Q_OBJECT
33
34public:
35
36 explicit DWizardDlg(QWidget* const parent, const QString& objName);
37 ~DWizardDlg() override;
38
39 void setPlugin(DPlugin* const tool);
40
41protected:
42
43 void restoreDialogSize();
44 void saveDialogSize();
45
46private Q_SLOTS:
47
48 void slotAboutPlugin();
49 void slotOnlineHandbook();
50
51protected:
52
53 void showEvent(QShowEvent*) override;
54
55private:
56
57 DPlugin* m_tool = nullptr;
58
59 Q_DISABLE_COPY(DWizardDlg)
60};
61
62} // namespace Digikam
Definition dplugin.h:51
Definition dwizarddlg.h:31
Definition datefolderview.cpp:34