digiKam
coredbinfocontainers.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-01-04
7  * Description : Container classes holding user presentable information
8  *
9  * Copyright (C) 2008-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
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)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_CORE_DB_INFO_CONTAINERS_H
25 #define DIGIKAM_CORE_DB_INFO_CONTAINERS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QDateTime>
31 
32 namespace Digikam
33 {
34 
36 {
37 public:
38 
40  : fileSize (0),
41  rating (-1),
42  width (0),
43  height (0),
44  colorDepth(0)
45  {
46  }
47 
48  QString fileName;
50  qint64 fileSize;
51 
52  int rating;
53  QDateTime creationDate;
54  QDateTime digitizationDate;
55  QString orientation;
56  int width;
57  int height;
58  QString format;
59  int colorDepth; // bits per channel, 8/16
60  QString colorModel;
61 };
62 
63 // ------------------------------------------------------------
64 
66 {
67 public:
68 
70  : allFieldsNull(true)
71  {
72  }
73 
75 
76  QString make;
77  QString model;
78  QString lens;
79  QString aperture;
80  QString focalLength;
81  QString focalLength35;
82  QString exposureTime;
83  QString exposureProgram;
84  QString exposureMode;
85  QString sensitivity;
86  QString flashMode;
87  QString whiteBalance;
89  QString meteringMode;
90  QString subjectDistance;
92 };
93 
94 // ------------------------------------------------------------
95 
97 {
98 public:
99 
101  : allFieldsNull(true)
102  {
103  }
104 
106 
107  QString aspectRatio;
108  QString audioBitRate;
110  QString audioCodec;
111  QString duration;
112  QString frameRate;
113  QString videoCodec;
114 };
115 
116 } // namespace Digikam
117 
118 #endif // DIGIKAM_CORE_DB_INFO_CONTAINERS_H
Definition: coredbinfocontainers.h:36
qint64 fileSize
Definition: coredbinfocontainers.h:50
QDateTime fileModificationDate
Definition: coredbinfocontainers.h:49
QString colorModel
Definition: coredbinfocontainers.h:60
int width
Definition: coredbinfocontainers.h:56
int colorDepth
Definition: coredbinfocontainers.h:59
QString fileName
Definition: coredbinfocontainers.h:48
int rating
Definition: coredbinfocontainers.h:52
QDateTime creationDate
Definition: coredbinfocontainers.h:53
QString orientation
Definition: coredbinfocontainers.h:55
QDateTime digitizationDate
Definition: coredbinfocontainers.h:54
int height
Definition: coredbinfocontainers.h:57
ImageCommonContainer()
Definition: coredbinfocontainers.h:39
QString format
Definition: coredbinfocontainers.h:58
Definition: coredbinfocontainers.h:66
QString whiteBalance
Definition: coredbinfocontainers.h:87
ImageMetadataContainer()
Definition: coredbinfocontainers.h:69
bool allFieldsNull
Definition: coredbinfocontainers.h:74
QString subjectDistanceCategory
Definition: coredbinfocontainers.h:91
QString whiteBalanceColorTemperature
Definition: coredbinfocontainers.h:88
QString lens
Definition: coredbinfocontainers.h:78
QString focalLength
Definition: coredbinfocontainers.h:80
QString meteringMode
Definition: coredbinfocontainers.h:89
QString flashMode
Definition: coredbinfocontainers.h:86
QString model
Definition: coredbinfocontainers.h:77
QString make
Definition: coredbinfocontainers.h:76
QString subjectDistance
Definition: coredbinfocontainers.h:90
QString exposureProgram
Definition: coredbinfocontainers.h:83
QString focalLength35
Definition: coredbinfocontainers.h:81
QString aperture
Definition: coredbinfocontainers.h:79
QString sensitivity
Definition: coredbinfocontainers.h:85
QString exposureTime
Definition: coredbinfocontainers.h:82
QString exposureMode
Definition: coredbinfocontainers.h:84
Definition: coredbinfocontainers.h:97
bool allFieldsNull
Definition: coredbinfocontainers.h:105
QString audioBitRate
Definition: coredbinfocontainers.h:108
QString videoCodec
Definition: coredbinfocontainers.h:113
VideoMetadataContainer()
Definition: coredbinfocontainers.h:100
QString duration
Definition: coredbinfocontainers.h:111
QString audioCodec
Definition: coredbinfocontainers.h:110
QString audioChannelType
Definition: coredbinfocontainers.h:109
QString aspectRatio
Definition: coredbinfocontainers.h:107
QString frameRate
Definition: coredbinfocontainers.h:112
Definition: datefolderview.cpp:43