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-2021 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_FINAL_PAGE_H
24 #define DIGIKAM_VIDSLIDE_FINAL_PAGE_H
25 
26 // Qt includes
27 
28 #include <QString>
29 
30 // Local includes
31 
32 #include "dwizardpage.h"
33 
34 using namespace Digikam;
35 
36 namespace DigikamGenericVideoSlideShowPlugin
37 {
38 
39 class VidSlideFinalPage : public DWizardPage
40 {
41     Q_OBJECT
42 
43 public:
44 
45     explicit VidSlideFinalPage(QWizard* const dialog, const QString& title);
46     ~VidSlideFinalPage()    override;
47 
48     void initializePage()   override;
49     bool isComplete() const override;
50     void cleanupPage()      override;
51 
52 private Q_SLOTS:
53 
54     void slotProcess();
55     void slotDone(bool);
56     void slotMessage(const QString&, bool);
57 
58 private:
59 
60     class Private;
61     Private* const d;
62 };
63 
64 } // namespace DigikamGenericVideoSlideShowPlugin
65 
66 #endif // DIGIKAM_VIDSLIDE_FINAL_PAGE_H
67