File indexing completed on 2025-03-09 03:50:51

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2009-11-13
0007  * Description : a tool to blend bracketed images.
0008  *
0009  * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  * SPDX-FileCopyrightText: 2015      by Benjamin Girault <benjamin dot girault at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #ifndef DIGIKAM_EXPO_BLENDING_PREPROCESS_PAGE_H
0017 #define DIGIKAM_EXPO_BLENDING_PREPROCESS_PAGE_H
0018 
0019 // Local includes
0020 
0021 #include "dwizardpage.h"
0022 #include "expoblendingactions.h"
0023 
0024 using namespace Digikam;
0025 
0026 namespace DigikamGenericExpoBlendingPlugin
0027 {
0028 
0029 class ExpoBlendingManager;
0030 
0031 class ExpoBlendingPreProcessPage : public DWizardPage
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036 
0037     explicit ExpoBlendingPreProcessPage(ExpoBlendingManager* const mngr, QWizard* const dlg);
0038     ~ExpoBlendingPreProcessPage() override;
0039 
0040     void process();
0041     void cancel();
0042 
0043 Q_SIGNALS:
0044 
0045     void signalPreProcessed(const ExpoBlendingItemUrlsMap&);
0046 
0047 private Q_SLOTS:
0048 
0049     void slotProgressTimerDone();
0050     void slotExpoBlendingAction(const DigikamGenericExpoBlendingPlugin::ExpoBlendingActionData&);
0051 
0052 private:
0053 
0054     void resetTitle();
0055 
0056 private:
0057 
0058     class Private;
0059     Private* const d;
0060 };
0061 
0062 } // namespace DigikamGenericExpoBlendingPlugin
0063 
0064 #endif // DIGIKAM_EXPO_BLENDING_PREPROCESS_PAGE_H