digiKam
showfoto_p.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 : 2004-11-22
7  * Description : stand alone digiKam image editor GUI
8  *
9  * Copyright (C) 2004-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2006-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  * Copyright (C) 2013 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef SHOW_FOTO_PRIVATE_H
27 #define SHOW_FOTO_PRIVATE_H
28 
29 #include "showfoto.h"
30 
31 // Qt includes
32 
33 #include <QCursor>
34 #include <QDir>
35 #include <QFile>
36 #include <QFileInfo>
37 #include <QFrame>
38 #include <QHBoxLayout>
39 #include <QLabel>
40 #include <QLayout>
41 #include <QList>
42 #include <QPointer>
43 #include <QProgressBar>
44 #include <QVBoxLayout>
45 #include <QLineEdit>
46 #include <QStandardPaths>
47 #include <QStyle>
48 #include <QKeySequence>
49 #include <QMenu>
50 #include <QMenuBar>
51 #include <QMimeDatabase>
52 #include <QMessageBox>
53 #include <QApplication>
54 #include <QMimeType>
55 #include <QSplitter>
56 #include <QAction>
57 #include <QUrl>
58 #include <QScopedPointer>
59 
60 // KDE includes
61 
62 #include <kactioncollection.h>
63 #include <klocalizedstring.h>
64 #include <kconfiggroup.h>
65 #include <ksharedconfig.h>
66 
67 // Local includes
68 
69 #include "showfotoiteminfo.h"
70 #include "showfotothumbnailbar.h"
71 #include "dsplashscreen.h"
72 #include "itempropertiessidebar.h"
74 #include "thumbnailloadthread.h"
75 #include "drawdecoder.h"
76 #include "digikam_globals.h"
77 #include "digikam_debug.h"
78 #include "canvas.h"
79 #include "editorcore.h"
80 #include "dmetadata.h"
81 #include "editorstackview.h"
82 #include "dfileoperations.h"
83 #include "iccsettingscontainer.h"
84 #include "imagedialog.h"
85 #include "iofilesettings.h"
86 #include "loadingcache.h"
87 #include "loadingcacheinterface.h"
88 #include "metaenginesettings.h"
89 #include "savingcontext.h"
90 #include "showfotosetup.h"
91 #include "showfotosetupmisc.h"
92 #include "setupicc.h"
93 #include "statusprogressbar.h"
94 #include "thememanager.h"
95 #include "thumbnailsize.h"
96 #include "dnotificationwrapper.h"
97 #include "showfotodelegate.h"
98 #include "showfotothumbnailmodel.h"
101 #include "showfotofolderviewlist.h"
103 #include "showfotostackviewlist.h"
104 #include "showfotosettings.h"
105 #include "showfotoinfoiface.h"
106 #include "dexpanderbox.h"
107 #include "dfiledialog.h"
108 #include "dpluginloader.h"
109 #include "exiftoolparser.h"
110 #include "sidebarwidget.h"
111 
112 namespace ShowFoto
113 {
114 
115 class Q_DECL_HIDDEN Showfoto::Private
116 {
117 public:
118 
119  explicit Private()
120  : validIccPath (true),
121  itemsNb (0),
122  vSplitter (nullptr),
123  fileOpenAction (nullptr),
124  openFilesInFolderAction (nullptr),
125  mediaServerAction (nullptr),
126  first (nullptr),
127  model (nullptr),
128  dDHandler (nullptr),
129  filterModel (nullptr),
130  thumbLoadThread (nullptr),
131  thumbBar (nullptr),
132  thumbBarDock (nullptr),
133  normalDelegate (nullptr),
134  leftSideBar (nullptr),
135  rightSideBar (nullptr),
136  splash (nullptr),
137  settings (nullptr),
138  folderView (nullptr),
139  stackView (nullptr)
140  {
141  }
142 
144 
145  int itemsNb;
146 
147  QSplitter* vSplitter;
148  QAction* fileOpenAction;
153  QAction* first;
154 
169 };
170 
171 } // namespace ShowFoto
172 
173 #endif // SHOW_FOTO_PRIVATE_H
Definition: dsplashscreen.h:41
Definition: itempropertiessidebar.h:58
Definition: sidebar.h:333
Definition: thumbbardock.h:84
Definition: thumbnailloadthread.h:46
Definition: showfotodragdrophandler.h:41
Definition: showfotofiltermodel.h:102
Definition: showfotofolderviewsidebar.h:52
Definition: showfotodelegate.h:176
Definition: showfotosettings.h:38
Definition: showfotostackviewsidebar.h:55
Definition: showfotothumbnailbar.h:38
Definition: showfotothumbnailmodel.h:42
Definition: showfoto_p.h:116
Private()
Definition: showfoto_p.h:119
ShowfotoThumbnailBar * thumbBar
Definition: showfoto_p.h:160
Digikam::ThumbnailLoadThread * thumbLoadThread
Definition: showfoto_p.h:159
ShowfotoFolderViewSideBar * folderView
Definition: showfoto_p.h:167
Digikam::DSplashScreen * splash
Definition: showfoto_p.h:165
QSplitter * vSplitter
Definition: showfoto_p.h:147
ShowfotoNormalDelegate * normalDelegate
Definition: showfoto_p.h:162
QUrl lastOpenedDirectory
Definition: showfoto_p.h:150
ShowfotoItemInfoList infoList
Definition: showfoto_p.h:155
QAction * mediaServerAction
Definition: showfoto_p.h:152
ShowfotoThumbnailModel * model
Definition: showfoto_p.h:156
bool validIccPath
Definition: showfoto_p.h:143
int itemsNb
Definition: showfoto_p.h:145
Digikam::ItemPropertiesSideBar * rightSideBar
Definition: showfoto_p.h:164
ShowfotoSettings * settings
Definition: showfoto_p.h:166
ShowfotoStackViewSideBar * stackView
Definition: showfoto_p.h:168
QAction * fileOpenAction
Definition: showfoto_p.h:148
Digikam::Sidebar * leftSideBar
Definition: showfoto_p.h:163
ShowfotoDragDropHandler * dDHandler
Definition: showfoto_p.h:157
ShowfotoFilterModel * filterModel
Definition: showfoto_p.h:158
QUrl currentLoadedUrl
Definition: showfoto_p.h:149
QAction * first
Definition: showfoto_p.h:153
Digikam::ThumbBarDock * thumbBarDock
Definition: showfoto_p.h:161
QAction * openFilesInFolderAction
Definition: showfoto_p.h:151
Definition: showfoto.h:44
Definition: showfotofolderviewbar.cpp:52