digiKam
vidslidewizard.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 : 2017-05-25
7  * Description : a tool to generate video slideshow from images.
8  *
9  * Copyright (C) 2017-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_VIDSLIDE_WIZARD_H
24 #define DIGIKAM_VIDSLIDE_WIZARD_H
25 
26 // Qt includes
27 
28 #include <QList>
29 #include <QUrl>
30 
31 // Local includes
32 
33 #include "dwizarddlg.h"
34 #include "dinfointerface.h"
35 #include "vidslidesettings.h"
36 
37 using namespace Digikam;
38 
40 {
41 
42 class VidSlideWizard : public DWizardDlg
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit VidSlideWizard(QWidget* const parent, DInfoInterface* const iface = nullptr);
49  ~VidSlideWizard() override;
50 
51  bool validateCurrentPage() override;
52  int nextId() const override;
53 
54  DInfoInterface* iface() const;
55  VidSlideSettings* settings() const;
56 
57  void setItemsList(const QList<QUrl>& urls);
58 
59 private Q_SLOTS:
60 
61  void slotCurrentIdChanged(int);
62 
63 private:
64 
65  class Private;
66  Private* const d;
67 };
68 
69 } // namespace DigikamGenericVideoSlideShowPlugin
70 
71 #endif // DIGIKAM_VIDSLIDE_WIZARD_H
Definition: dinfointerface.h:56
Definition: dwizarddlg.h:40
Definition: vidslidesettings.h:47
Definition: videoslideshowplugin.cpp:38
Definition: datefolderview.cpp:43