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_ITEMS_PAGE_H
0017 #define DIGIKAM_EXPO_BLENDING_ITEMS_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 ItemsPage : public DWizardPage
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036 
0037     explicit ItemsPage(ExpoBlendingManager* const mngr, QWizard* const dlg);
0038     ~ItemsPage() override;
0039 
0040     QList<QUrl> itemUrls() const;
0041 
0042 Q_SIGNALS:
0043 
0044     void signalItemsPageIsValid(bool);
0045 
0046 private:
0047 
0048     void setIdentity(const QUrl& url, const QString& identity);
0049 
0050 private Q_SLOTS:
0051 
0052     void slotSetupList();
0053     void slotImageListChanged();
0054     void slotAddItems(const QList<QUrl>&);
0055     void slotExpoBlendingAction(const DigikamGenericExpoBlendingPlugin::ExpoBlendingActionData&);
0056 
0057 private:
0058 
0059     class Private;
0060     Private* const d;
0061 };
0062 
0063 } // namespace DigikamGenericExpoBlendingPlugin
0064 
0065 #endif // DIGIKAM_EXPO_BLENDING_ITEMS_PAGE_H