wizard.h 1.61 KB
Newer Older
Gilles Caulier's avatar
Gilles Caulier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ============================================================
 *
 * This file is a part of kipi-plugins project
 * http://www.digikam.org
 *
 * Date        : 2006-04-04
 * Description : A KIPI plugin to generate HTML image galleries
 *
 * Copyright (C) 2006-2010 by Aurelien Gateau <aurelien dot gateau at free.fr>
 *
 * This program is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General
 * Public License as published by the Free Software Foundation;
 * either version 2, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * ============================================================ */
22

Gilles Caulier's avatar
Gilles Caulier committed
23
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
24
25
26
27

#ifndef WIZARD_H
#define WIZARD_H

Gilles Caulier's avatar
Gilles Caulier committed
28
29
30
// Local includes

#include "kptooldialog.h"
31

Gilles Caulier's avatar
Gilles Caulier committed
32
33
34
namespace KIPI
{
    class Interface;
35
36
}

Gilles Caulier's avatar
Gilles Caulier committed
37
38
39
40
41
using namespace KIPI;
using namespace KIPIPlugins;

namespace KIPIHTMLExport
{
42
43
44
45
46
47

class GalleryInfo;

/**
 * The wizard used by the user to select the various settings.
 */
Gilles Caulier's avatar
Gilles Caulier committed
48
49
50
51
class Wizard : public KPWizardDialog
{
    Q_OBJECT

52
public:
Gilles Caulier's avatar
Gilles Caulier committed
53

Gilles Caulier's avatar
Gilles Caulier committed
54
    Wizard(QWidget* const parent, GalleryInfo* constinfo);
Gilles Caulier's avatar
Gilles Caulier committed
55
    ~Wizard();
56

57
protected Q_SLOTS:
Gilles Caulier's avatar
Gilles Caulier committed
58
59

    virtual void accept();
60

61
private Q_SLOTS:
Gilles Caulier's avatar
Gilles Caulier committed
62
63
64
65

    void updateCollectionSelectorPageValidity();
    void updateFinishPageValidity();
    void slotThemeSelectionChanged();
66
67
68

private:

Gilles Caulier's avatar
Gilles Caulier committed
69
70
71
    struct Private;
    Private* d;
};
72

Gilles Caulier's avatar
Gilles Caulier committed
73
} // namespace KIPIHTMLExport
74
75

#endif /* WIZARD_H */