digiKam
Loading...
Searching...
No Matches
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 * SPDX-FileCopyrightText: 2004-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2006-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11 * SPDX-FileCopyrightText: 2013 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 *
15 * ============================================================ */
16
17#pragma once
18
19#include "showfoto.h"
20
21// Qt includes
22
23#include <QCursor>
24#include <QDir>
25#include <QFile>
26#include <QFileInfo>
27#include <QFrame>
28#include <QHBoxLayout>
29#include <QLabel>
30#include <QLayout>
31#include <QList>
32#include <QPointer>
33#include <QProgressBar>
34#include <QVBoxLayout>
35#include <QLineEdit>
36#include <QStandardPaths>
37#include <QStyle>
38#include <QKeySequence>
39#include <QMenu>
40#include <QMenuBar>
41#include <QMimeDatabase>
42#include <QMessageBox>
43#include <QApplication>
44#include <QMimeType>
45#include <QSplitter>
46#include <QAction>
47#include <QUrl>
48#include <QScopedPointer>
49
50// KDE includes
51
52#include <kactioncollection.h>
53#include <klocalizedstring.h>
54#include <kconfiggroup.h>
55#include <ksharedconfig.h>
56#include <kxmlgui_version.h>
57
58#ifdef HAVE_KICONTHEMES
59# include <kiconthemes_version.h>
60#endif
61
62// Local includes
63
64#include "showfotoiteminfo.h"
66#include "dsplashscreen.h"
69#include "thumbnailloadthread.h"
70#include "drawdecoder.h"
71#include "digikam_globals.h"
72#include "digikam_debug.h"
73#include "canvas.h"
74#include "editorcore.h"
75#include "dmetadata.h"
76#include "editorstackview.h"
77#include "dfileoperations.h"
79#include "imagedialog.h"
80#include "iofilesettings.h"
81#include "loadingcache.h"
83#include "metaenginesettings.h"
84#include "savingcontext.h"
85#include "showfotosetup.h"
86#include "showfotosetupmisc.h"
87#include "setupicc.h"
88#include "statusprogressbar.h"
89#include "thememanager.h"
90#include "thumbnailsize.h"
92#include "showfotodelegate.h"
99#include "showfotosettings.h"
100#include "showfotoinfoiface.h"
101#include "dexpanderbox.h"
102#include "dfiledialog.h"
103#include "dpluginloader.h"
104#include "exiftoolthread.h"
105#include "exiftoolparser.h"
106#include "sidebarwidget.h"
107#include "localizesettings.h"
108#include "networkmanager.h"
109
110#ifdef HAVE_GEOLOCATION
111# include "geolocationsettings.h"
112#endif
113
114namespace ShowFoto
115{
116
117class Q_DECL_HIDDEN Showfoto::Private
118{
119public:
120
121 Private() = default;
122
123 bool validIccPath = true;
124
125 int itemsNb = 0;
126
127 QSplitter* vSplitter = nullptr;
128 QAction* fileOpenAction = nullptr;
131 QAction* openFilesInFolderAction = nullptr;
132 QAction* mediaServerAction = nullptr;
133 QAction* first = nullptr;
134
136 ShowfotoThumbnailModel* model = nullptr;
137 ShowfotoDragDropHandler* dDHandler = nullptr;
138 ShowfotoFilterModel* filterModel = nullptr;
139 Digikam::ThumbnailLoadThread* thumbLoadThread = nullptr;
140 ShowfotoThumbnailBar* thumbBar = nullptr;
141 Digikam::ThumbBarDock* thumbBarDock = nullptr;
142 ShowfotoNormalDelegate* normalDelegate = nullptr;
143 Digikam::Sidebar* leftSideBar = nullptr;
144 Digikam::ItemPropertiesSideBar* rightSideBar = nullptr;
145 Digikam::DSplashScreen* splash = nullptr;
146 ShowfotoSettings* settings = nullptr;
147 ShowfotoFolderViewSideBar* folderView = nullptr;
148 ShowfotoStackViewSideBar* stackView = nullptr;
149};
150
151} // namespace ShowFoto
Definition dsplashscreen.h:31
Definition itempropertiessidebar.h:48
Definition sidebar.h:324
Definition thumbbardock.h:74
Definition thumbnailloadthread.h:36
Definition showfotodragdrophandler.h:31
Definition showfotofiltermodel.h:92
Definition showfotofolderviewsidebar.h:42
Definition showfotodelegate.h:164
Definition showfotosettings.h:28
Definition showfotostackviewsidebar.h:45
Definition showfotothumbnailbar.h:28
Definition showfotothumbnailmodel.h:32
Definition showfoto_p.h:118
QUrl lastOpenedDirectory
Definition showfoto_p.h:130
ShowfotoItemInfoList infoList
Definition showfoto_p.h:135
QUrl currentLoadedUrl
Definition showfoto_p.h:129
Definition showfoto.h:34
Definition showfotofolderviewbar.cpp:43
QList< ShowfotoItemInfo > ShowfotoItemInfoList
Definition showfotoiteminfo.h:81