digiKam
digikamitemview_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 : 2009-10-03
7  * Description : Private Qt model-view for items
8  *
9  * Copyright (C) 2009-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2009-2010 by Johannes Wienke <languitar at semipol do de>
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 DIGIKAM_DIGIKAMITEM_VIEW_P_H
27 #define DIGIKAM_DIGIKAMITEM_VIEW_P_H
28 
29 // Qt includes
30 
31 #include <QObject>
32 
33 // Local includes
34 
35 #include "digikam_config.h"
36 #include "digikamitemview.h"
37 #include "digikamitemdelegate.h"
38 #include "itemrotationoverlay.h"
39 #include "itemfullscreenoverlay.h"
40 #include "applicationsettings.h"
41 #include "facepipeline.h"
42 
43 namespace Digikam
44 {
45 
46 class DigikamItemDelegate;
47 class ItemFaceDelegate;
48 
49 class Q_DECL_HIDDEN DigikamItemView::Private : public QObject
50 {
51  Q_OBJECT
52  Q_DECLARE_PUBLIC(DigikamItemView)
53 
54 public:
55 
56  explicit Private(DigikamItemView* const qq);
57  ~Private() override;
58 
59  void updateOverlays();
60  void triggerRotateAction(const char* actionName);
61 
62 public:
63 
65 
67 
70 
73 
77 
78  bool faceMode;
79 
80 private:
81 
82  DigikamItemView* q_ptr;
83 
84 private:
85 
86  // Disable
87  Private() = delete;
88 };
89 
90 } // namespace Digikam
91 
92 #endif // DIGIKAM_DIGIKAMITEM_VIEW_P_H
Definition: digikamitemdelegate.h:38
Definition: digikamitemview_p.h:50
ItemFaceDelegate * faceDelegate
Definition: digikamitemview_p.h:69
ItemViewUtilities * utilities
Definition: digikamitemview_p.h:64
bool faceMode
Definition: digikamitemview_p.h:78
ItemRotateOverlay * rotateLeftOverlay
Definition: digikamitemview_p.h:74
bool overlaysActive
Definition: digikamitemview_p.h:71
void triggerRotateAction(const char *actionName)
FacePipeline editPipeline
Definition: digikamitemview_p.h:66
DigikamItemDelegate * normalDelegate
Definition: digikamitemview_p.h:68
bool fullscreenActive
Definition: digikamitemview_p.h:72
ItemFullScreenOverlay * fullscreenOverlay
Definition: digikamitemview_p.h:76
ItemRotateOverlay * rotateRightOverlay
Definition: digikamitemview_p.h:75
Definition: digikamitemview.h:43
Definition: facepipeline.h:36
Definition: itemfacedelegate.h:39
Definition: itemfullscreenoverlay.h:59
Definition: itemrotationoverlay.h:67
Definition: itemviewutilities.h:44
Definition: datefolderview.cpp:43