digiKam
dwizardpage.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 page.
8
*
9
* Copyright (C) 2009-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) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* ============================================================ */
22
23
#ifndef DIGIKAM_DWIZARD_PAGE_H
24
#define DIGIKAM_DWIZARD_PAGE_H
25
26
// Qt includes
27
28
#include <QWizardPage>
29
#include <QString>
30
#include <QPixmap>
31
32
// Local includes
33
34
#include "
digikam_export.h
"
35
36
class
QWizard;
37
38
namespace
Digikam
39
{
40
41
class
DIGIKAM_EXPORT
DWizardPage
:
public
QWizardPage
42
{
43
Q_OBJECT
44
45
public
:
46
47
explicit
DWizardPage
(QWizard*
const
dlg,
const
QString& title);
48
~
DWizardPage
()
override
;
49
50
public
:
51
52
void
setPageWidget(QWidget*
const
w);
53
void
removePageWidget(QWidget*
const
w);
54
void
setLeftBottomPix(
const
QPixmap& pix);
55
void
setLeftBottomPix(
const
QIcon& icon);
56
void
setShowLeftView(
bool
v);
57
58
void
setComplete(
bool
b);
59
bool
isComplete()
const override
;
60
61
int
id()
const
;
62
63
QWizard* assistant()
const
;
64
65
private
:
66
67
class
Private;
68
Private*
const
d;
69
};
70
71
}
// namespace Digikam
72
73
#endif
// DIGIKAM_DWIZARD_PAGE_H
Digikam::DWizardPage
Definition:
dwizardpage.h:42
digikam_export.h
Digikam
Definition:
datefolderview.cpp:43
core
libs
dplugins
widgets
dwizardpage.h
Generated by
1.9.1