File indexing completed on 2025-03-09 03:52:07

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2008-09-09
0007  * Description : a presentation tool.
0008  *
0009  * SPDX-FileCopyrightText: 2008-2009 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
0010  * SPDX-FileCopyrightText: 2009      by Andi Clemens <andi dot clemens at googlemail dot com>
0011  * SPDX-FileCopyrightText: 2012-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_PRESENTATION_DLG_H
0018 #define DIGIKAM_PRESENTATION_DLG_H
0019 
0020 // Local includes
0021 
0022 #include "dplugindialog.h"
0023 
0024 using namespace Digikam;
0025 
0026 namespace DigikamGenericPresentationPlugin
0027 {
0028 
0029 class PresentationContainer;
0030 
0031 class PresentationDlg : public DPluginDialog
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036 
0037     explicit PresentationDlg(QWidget* const parent,
0038                              PresentationContainer* const sharedData);
0039     ~PresentationDlg() override;
0040 
0041 Q_SIGNALS:
0042 
0043     void buttonStartClicked();
0044 
0045 private:
0046 
0047     void readSettings();
0048     void saveSettings();
0049     void closeEvent(QCloseEvent* e) override;
0050 
0051 private Q_SLOTS:
0052 
0053     void slotStartClicked();
0054 
0055 private:
0056 
0057     class Private;
0058     Private* const d;
0059 };
0060 
0061 } // namespace DigikamGenericPresentationPlugin
0062 
0063 #endif // DIGIKAM_PRESENTATION_DLG_H