File indexing completed on 2025-01-05 03:53:11

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2011-05-23
0007  * Description : a tool to create panorama by fusion of several images.
0008  * Acknowledge : based on the expoblending tool
0009  *
0010  * SPDX-FileCopyrightText: 2011-2016 by Benjamin Girault <benjamin dot girault at gmail dot com>
0011  * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0012  *
0013  * SPDX-License-Identifier: GPL-2.0-or-later
0014  *
0015  * ============================================================ */
0016 
0017 #ifndef DIGIKAM_PANO_PRE_PROCESS_PAGE_H
0018 #define DIGIKAM_PANO_PRE_PROCESS_PAGE_H
0019 
0020 // Local includes
0021 
0022 #include "dwizardpage.h"
0023 #include "panoactions.h"
0024 
0025 using namespace Digikam;
0026 
0027 namespace DigikamGenericPanoramaPlugin
0028 {
0029 
0030 class PanoManager;
0031 
0032 class PanoPreProcessPage : public DWizardPage
0033 {
0034     Q_OBJECT
0035 
0036 public:
0037 
0038     explicit PanoPreProcessPage(PanoManager* const mngr, QWizard* const dlg);
0039     ~PanoPreProcessPage() override;
0040 
0041 private:
0042 
0043     void process();
0044     void initializePage() override;
0045     bool validatePage()   override;
0046     void cleanupPage()    override;
0047 
0048 Q_SIGNALS:
0049 
0050     void signalPreProcessed();
0051 
0052 private Q_SLOTS:
0053 
0054     void slotProgressTimerDone();
0055     void slotPanoAction(const DigikamGenericPanoramaPlugin::PanoActionData&);
0056 
0057 private:
0058 
0059     class Private;
0060     Private* const d;
0061 };
0062 
0063 } // namespace DigikamGenericPanoramaPlugin
0064 
0065 #endif // DIGIKAM_PANO_PRE_PROCESS_PAGE_H