digiKam
htmlwizard.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 : 2006-04-04
7  * Description : a tool to generate HTML image galleries
8  *
9  * Copyright (C) 2006-2010 by Aurelien Gateau <aurelien dot gateau at free dot fr>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_HTML_WIZARD_H
25 #define DIGIKAM_HTML_WIZARD_H
26 
27 // Qt includes
28 
29 #include <QList>
30 #include <QUrl>
31 
32 // Local includes
33 
34 #include "dwizarddlg.h"
35 #include "gallerytheme.h"
36 #include "dinfointerface.h"
37 
38 using namespace Digikam;
39 
41 {
42 
43 class GalleryInfo;
44 
48 class HTMLWizard : public DWizardDlg
49 {
50  Q_OBJECT
51 
52 public:
53 
54  explicit HTMLWizard(QWidget* const parent, DInfoInterface* const iface = nullptr);
55  ~HTMLWizard() override;
56 
57  GalleryInfo* galleryInfo() const;
58  GalleryTheme::Ptr galleryTheme() const;
59 
60  bool validateCurrentPage() override;
61  int nextId() const override;
62 
63  void setItemsList(const QList<QUrl>& urls);
64 
65 private:
66 
67  class Private;
68  Private* const d;
69 };
70 
71 } // namespace DigikamGenericHtmlGalleryPlugin
72 
73 #endif // DIGIKAM_HTML_WIZARD_H
QSharedPointer< GalleryTheme > Ptr
Definition: gallerytheme.h:46
Definition: dinfointerface.h:56
Definition: dwizarddlg.h:40
Definition: galleryconfig.cpp:30
Definition: datefolderview.cpp:43