digiKam
setupmetadata_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 : 2003-08-03
7  * Description : setup Metadata tab.
8  *
9  * Copyright (C) 2003-2004 by Ralf Holzer <ralf at well dot com>
10  * Copyright (C) 2003-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2009-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
12  * Copyright (C) 2017 by Simon Frei <freisim93 at gmail dot com>
13  *
14  * This program is free software; you can redistribute it
15  * and/or modify it under the terms of the GNU General
16  * Public License as published by the Free Software Foundation;
17  * either version 2, or (at your option)
18  * any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * ============================================================ */
26 
27 #ifndef DIGIKAM_SETUP_METADATA_P_H
28 #define DIGIKAM_SETUP_METADATA_P_H
29 
30 #include "setupmetadata.h"
31 
32 // Qt includes
33 
34 #include <QApplication>
35 #include <QButtonGroup>
36 #include <QCheckBox>
37 #include <QComboBox>
38 #include <QFrame>
39 #include <QGridLayout>
40 #include <QGroupBox>
41 #include <QIcon>
42 #include <QLabel>
43 #include <QLineEdit>
44 #include <QMessageBox>
45 #include <QPointer>
46 #include <QRadioButton>
47 #include <QStandardPaths>
48 #include <QStyle>
49 #include <QToolButton>
50 #include <QVBoxLayout>
51 
52 // KDE includes
53 
54 #include <klocalizedstring.h>
55 
56 // Local includes
57 
58 #include "advancedmetadatatab.h"
59 #include "applicationsettings.h"
60 #include "dactivelabel.h"
61 #include "digikam_config.h"
62 #include "digikam_debug.h"
63 #include "metaengine.h"
64 #include "metadatapanel.h"
65 #include "metaenginesettings.h"
66 #include "setuputils.h"
67 #include "exiftoolconfpanel.h"
68 
69 namespace Digikam
70 {
71 
72 class Q_DECL_HIDDEN SetupMetadata::Private
73 {
74 public:
75 
76  explicit Private();
77 
78  void readSettings();
79 
80 public:
81 
85 
86  QGroupBox* fieldsGroup;
87  QGroupBox* readWriteGroup;
88  QGroupBox* rotationGroup;
89  QGroupBox* rotationAdvGroup;
90 
91  QCheckBox* saveTagsBox;
92  QCheckBox* saveCommentsBox;
93  QCheckBox* saveRatingBox;
94  QCheckBox* savePickLabelBox;
95  QCheckBox* saveColorLabelBox;
96  QCheckBox* saveDateTimeBox;
97  QCheckBox* saveTemplateBox;
98  QCheckBox* saveFaceTags;
99  QCheckBox* savePosition;
100 
101  QCheckBox* useLazySync;
102  QCheckBox* writeDngFilesBox;
103  QCheckBox* writeRawFilesBox;
104  QCheckBox* writeXMPSidecarBox;
105  QCheckBox* readXMPSidecarBox;
106  QCheckBox* sidecarFileNameBox;
110  QComboBox* writingModeCombo;
111 
112  QRadioButton* rotateByFlag;
113  QRadioButton* rotateByContents;
115  QCheckBox* allowLossyRotate;
116  QCheckBox* exifRotateBox;
118 
119  QCheckBox* saveToBalooBox;
120  QCheckBox* readFromBalooBox;
121 
122  QTabWidget* tab;
123  QTabWidget* displaySubTab;
124 
127 
129 
130  QLineEdit* extensionsEdit;
131 };
132 
133 } // namespace Digikam
134 
135 #endif // DIGIKAM_SETUP_METADATA_P_H
Definition: advancedmetadatatab.h:42
Definition: exiftoolconfpanel.h:41
Definition: metadatapanel.h:44
Definition: setupmetadata_p.h:73
QCheckBox * saveRatingBox
Definition: setupmetadata_p.h:93
QCheckBox * clearMetadataIfRescanBox
Definition: setupmetadata_p.h:109
bool clearMetadataShowedInfo
Definition: setupmetadata_p.h:84
QGroupBox * fieldsGroup
Definition: setupmetadata_p.h:86
bool exifAutoRotateOriginal
Definition: setupmetadata_p.h:82
QTabWidget * displaySubTab
Definition: setupmetadata_p.h:123
QGroupBox * rotationGroup
Definition: setupmetadata_p.h:88
bool exifAutoRotateShowedInfo
Definition: setupmetadata_p.h:83
QCheckBox * readFromBalooBox
Definition: setupmetadata_p.h:120
QCheckBox * saveTemplateBox
Definition: setupmetadata_p.h:97
QCheckBox * readXMPSidecarBox
Definition: setupmetadata_p.h:105
QRadioButton * rotateByFlag
Definition: setupmetadata_p.h:112
AdvancedMetadataTab * advTab
Definition: setupmetadata_p.h:126
QCheckBox * exifSetOrientationBox
Definition: setupmetadata_p.h:117
QCheckBox * rescanImageIfModifiedBox
Definition: setupmetadata_p.h:108
QCheckBox * saveTagsBox
Definition: setupmetadata_p.h:91
QComboBox * writingModeCombo
Definition: setupmetadata_p.h:110
QCheckBox * saveDateTimeBox
Definition: setupmetadata_p.h:96
QLineEdit * extensionsEdit
Definition: setupmetadata_p.h:130
ExifToolConfPanel * exifToolView
Definition: setupmetadata_p.h:128
QCheckBox * updateFileTimeStampBox
Definition: setupmetadata_p.h:107
QCheckBox * saveToBalooBox
Definition: setupmetadata_p.h:119
QCheckBox * saveFaceTags
Definition: setupmetadata_p.h:98
QCheckBox * saveColorLabelBox
Definition: setupmetadata_p.h:95
QCheckBox * exifRotateBox
Definition: setupmetadata_p.h:116
QCheckBox * savePosition
Definition: setupmetadata_p.h:99
QGroupBox * rotationAdvGroup
Definition: setupmetadata_p.h:89
QTabWidget * tab
Definition: setupmetadata_p.h:122
QCheckBox * saveCommentsBox
Definition: setupmetadata_p.h:92
QRadioButton * rotateByContents
Definition: setupmetadata_p.h:113
QCheckBox * writeRawFilesBox
Definition: setupmetadata_p.h:103
QCheckBox * allowRotateByMetadata
Definition: setupmetadata_p.h:114
QCheckBox * allowLossyRotate
Definition: setupmetadata_p.h:115
QCheckBox * savePickLabelBox
Definition: setupmetadata_p.h:94
QCheckBox * sidecarFileNameBox
Definition: setupmetadata_p.h:106
QGroupBox * readWriteGroup
Definition: setupmetadata_p.h:87
QCheckBox * writeXMPSidecarBox
Definition: setupmetadata_p.h:104
QCheckBox * writeDngFilesBox
Definition: setupmetadata_p.h:102
QCheckBox * useLazySync
Definition: setupmetadata_p.h:101
MetadataPanel * tagsCfgPanel
Definition: setupmetadata_p.h:125
Definition: setupmetadata.h:36
Definition: datefolderview.cpp:43