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_INTRO_PAGE_H
0018 #define DIGIKAM_PANO_INTRO_PAGE_H
0019 
0020 // Qt includes
0021 
0022 #include <QAbstractButton>
0023 
0024 // Local includes
0025 
0026 #include "dwizardpage.h"
0027 #include "panomanager.h"
0028 
0029 using namespace Digikam;
0030 
0031 namespace DigikamGenericPanoramaPlugin
0032 {
0033 
0034 class PanoManager;
0035 
0036 class PanoIntroPage : public DWizardPage
0037 {
0038     Q_OBJECT
0039 
0040 public:
0041 
0042     explicit PanoIntroPage(PanoManager* const mngr, QWizard* const dlg);
0043     ~PanoIntroPage()        override;
0044 
0045     bool binariesFound();
0046 
0047 private Q_SLOTS:
0048 
0049     void slotToggleGPano(int state);
0050     void slotChangeFileFormat(QAbstractButton* button);
0051     void slotBinariesChanged(bool found);
0052 /*
0053     // TODO HDR
0054     void slotShowFileFormat(int state);
0055 */
0056 private:
0057 
0058     void initializePage()   override;
0059 
0060 private:
0061 
0062     class Private;
0063     Private* const d;
0064 };
0065 
0066 } // namespace DigikamGenericPanoramaPlugin
0067 
0068 #endif // DIGIKAM_PANO_INTRO_PAGE_H