digiKam
presentation_captionpage.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2008-09-09
7  * Description : a presentation tool.
8  *
9  * Copyright (C) 2008 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_PRESENTATION_CAPTION_PAGE_H
25 #define DIGIKAM_PRESENTATION_CAPTION_PAGE_H
26 
27 // Local includes
28 
29 #include "ui_presentation_captionpage.h"
30 
32 {
33 
34 class PresentationContainer;
35 
36 class PresentationCaptionPage : public QWidget,
37  public Ui::PresentationCaptionPage
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit PresentationCaptionPage(QWidget* const parent,
44  PresentationContainer* const sharedData);
45  ~PresentationCaptionPage() override;
46 
47  void readSettings();
48  void saveSettings();
49 
50 private Q_SLOTS:
51 
52  void slotCommentsFontColorChanged();
53  void slotCommentsBgColorChanged();
54  void slotOpenFontDialog();
55 
56 private:
57 
58  PresentationContainer* m_sharedData;
59 };
60 
61 } // namespace DigikamGenericPresentationPlugin
62 
63 #endif // DIGIKAM_PRESENTATION_CAPTION_PAGE_H
Definition: presentation_captionpage.h:38
void readSettings()
Definition: presentation_captionpage.cpp:54
PresentationCaptionPage(QWidget *const parent, PresentationContainer *const sharedData)
Definition: presentation_captionpage.cpp:39
void saveSettings()
Definition: presentation_captionpage.cpp:76
~PresentationCaptionPage() override
Definition: presentation_captionpage.cpp:50
Definition: presentationcontainer.h:54
Definition: presentation_audiopage.cpp:46