digiKam
presentationcontainer.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-10-02
7  * Description : a presentation tool.
8  *
9  * Copyright (C) 2008-2009 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_PRESENTATION_CONTAINER_H
24 #define DIGIKAM_PRESENTATION_CONTAINER_H
25 
26 // Qt includes
27 
28 #include <QString>
29 #include <QFont>
30 #include <QUrl>
31 #include <QMap>
32 
33 // Local includes
34 
35 #include "digikam_config.h"
36 #include "dinfointerface.h"
37 
38 using namespace Digikam;
39 
41 {
42 
43 class PresentationMainPage;
44 class PresentationCaptionPage;
45 class PresentationAdvPage;
46 
47 #ifdef HAVE_MEDIAPLAYER
48 
49 class PresentationAudioPage;
50 
51 #endif
52 
54 {
55 
56 public:
57 
58  explicit PresentationContainer();
60 
61 public:
62 
66 
68 
71 
72 #ifdef HAVE_MEDIAPLAYER
73 
74  PresentationAudioPage* soundtrackPage;
75 
76 #endif
77 
79 
80  // Config file data
81 
83  bool opengl;
85  int delay;
89  bool loop;
90  bool shuffle;
92  QString effectName;
93  QString effectNameGL;
94 
99  uint bgOpacity;
101  QFont* captionFont;
102 
110 
118  uint cacheSize;
119 
121 };
122 
123 } // namespace DigikamGenericPresentationPlugin
124 
125 #endif // DIGIKAM_PRESENTATION_CONTAINER_H
Definition: presentation_advpage.h:37
Definition: presentation_audiopage.h:65
Definition: presentation_captionpage.h:38
Definition: presentationcontainer.h:54
bool soundtrackLoop
Soundtrack page.
Definition: presentationcontainer.h:104
bool printProgress
Definition: presentationcontainer.h:87
PresentationCaptionPage * captionPage
Definition: presentationcontainer.h:70
bool printFileName
Definition: presentationcontainer.h:86
bool opengl
Main page.
Definition: presentationcontainer.h:83
bool soundtrackPlay
Definition: presentationcontainer.h:105
QList< QUrl > urlList
Definition: presentationcontainer.h:67
QString effectName
Definition: presentationcontainer.h:92
bool offAutoDelay
Definition: presentationcontainer.h:91
bool soundtrackRememberPlaylist
Definition: presentationcontainer.h:106
int commentsLinesLength
Definition: presentationcontainer.h:100
int delayMsMaxValue
Definition: presentationcontainer.h:63
bool shuffle
Definition: presentationcontainer.h:90
int delay
Definition: presentationcontainer.h:85
bool enableCache
Definition: presentationcontainer.h:114
PresentationMainPage * mainPage
Definition: presentationcontainer.h:69
QFont * captionFont
Definition: presentationcontainer.h:101
bool kbDisableCrossFade
Definition: presentationcontainer.h:116
int delayMsLineStep
Definition: presentationcontainer.h:65
bool kbDisableFadeInOut
Definition: presentationcontainer.h:115
bool printFileComments
Definition: presentationcontainer.h:88
bool openGlFullScale
Definition: presentationcontainer.h:84
bool commentsDrawOutline
Definition: presentationcontainer.h:98
QList< QUrl > soundtrackUrls
Definition: presentationcontainer.h:109
QUrl soundtrackPath
Definition: presentationcontainer.h:108
bool useMilliseconds
Advanced page.
Definition: presentationcontainer.h:112
bool kbEnableSameSpeed
Definition: presentationcontainer.h:117
QString effectNameGL
Definition: presentationcontainer.h:93
bool soundtrackPlayListNeedsUpdate
Definition: presentationcontainer.h:107
uint commentsBgColor
Definition: presentationcontainer.h:97
int delayMsMinValue
Definition: presentationcontainer.h:64
bool enableMouseWheel
Definition: presentationcontainer.h:113
uint commentsFontColor
Captions page.
Definition: presentationcontainer.h:96
uint bgOpacity
Definition: presentationcontainer.h:99
PresentationAdvPage * advancedPage
Definition: presentationcontainer.h:78
DInfoInterface * iface
Definition: presentationcontainer.h:120
bool loop
Definition: presentationcontainer.h:89
uint cacheSize
Definition: presentationcontainer.h:118
Definition: presentation_mainpage.h:47
Definition: dinfointerface.h:56
Definition: presentation_audiopage.cpp:46
Definition: datefolderview.cpp:43