File indexing completed on 2025-03-09 03:52:06
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 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com> 0010 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_PRESENTATION_CAPTION_PAGE_H 0017 #define DIGIKAM_PRESENTATION_CAPTION_PAGE_H 0018 0019 // Local includes 0020 0021 #include "ui_presentation_captionpage.h" 0022 0023 namespace DigikamGenericPresentationPlugin 0024 { 0025 0026 class PresentationContainer; 0027 0028 class PresentationCaptionPage : public QWidget, 0029 public Ui::PresentationCaptionPage 0030 { 0031 Q_OBJECT 0032 0033 public: 0034 0035 explicit PresentationCaptionPage(QWidget* const parent, 0036 PresentationContainer* const sharedData); 0037 ~PresentationCaptionPage() override; 0038 0039 void readSettings(); 0040 void saveSettings(); 0041 0042 private Q_SLOTS: 0043 0044 void slotCommentsFontColorChanged(); 0045 void slotCommentsBgColorChanged(); 0046 void slotOpenFontDialog(); 0047 0048 private: 0049 0050 PresentationContainer* m_sharedData = nullptr; 0051 }; 0052 0053 } // namespace DigikamGenericPresentationPlugin 0054 0055 #endif // DIGIKAM_PRESENTATION_CAPTION_PAGE_H