File indexing completed on 2025-01-05 03:56:45

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2006-04-19
0007  * Description : A tab to display general item information
0008  *
0009  * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_ITEM_PROPERTIES_TAB_P_H
0016 #define DIGIKAM_ITEM_PROPERTIES_TAB_P_H
0017 
0018 #include "itempropertiestab.h"
0019 
0020 // Qt includes
0021 
0022 #include <QGridLayout>
0023 #include <QStyle>
0024 #include <QDir>
0025 #include <QFile>
0026 #include <QPixmap>
0027 #include <QPainter>
0028 #include <QPair>
0029 #include <QVariant>
0030 #include <QApplication>
0031 #include <QCollator>
0032 #include <QIcon>
0033 #include <QLocale>
0034 #include <QTime>
0035 #include <QtMath>
0036 
0037 // KDE includes
0038 
0039 #include <klocalizedstring.h>
0040 
0041 // Local includes
0042 
0043 #include "itempropertiestxtlabel.h"
0044 #include "picklabelwidget.h"
0045 #include "colorlabelwidget.h"
0046 #include "ditemtooltip.h"
0047 
0048 namespace Digikam
0049 {
0050 
0051 class Q_DECL_HIDDEN ItemPropertiesTab::Private
0052 {
0053 public:
0054 
0055     explicit Private();
0056     ~Private();
0057 
0058     DTextLabelName*    caption;
0059     DTextLabelName*    title;
0060     DTextLabelName*    pickLabel;
0061     DTextLabelName*    colorLabel;
0062     DTextLabelName*    rating;
0063     DTextLabelName*    tags;
0064     DTextLabelName*    peoples;
0065     DTextLabelName*    versionned;
0066     DTextLabelName*    grouped;
0067 
0068     DTextLabelValue*   labelFile;
0069     DTextLabelValue*   labelFolder;
0070     DTextLabelValue*   labelSymlink;
0071     DTextLabelValue*   labelFileModifiedDate;
0072     DTextLabelValue*   labelFileSize;
0073     DTextLabelValue*   labelFileOwner;
0074     DTextLabelValue*   labelFilePermissions;
0075 
0076     DTextLabelValue*   labelImageMime;
0077     DTextLabelValue*   labelImageDimensions;
0078     DTextLabelValue*   labelImageRatio;
0079     DTextLabelValue*   labelImageBitDepth;
0080     DTextLabelValue*   labelImageColorMode;
0081     DTextLabelValue*   labelHasSidecar;
0082     DTextLabelValue*   labelHasGPSInfo;
0083     DTextLabelValue*   labelVersionnedInfo;
0084     DTextLabelValue*   labelGroupedInfo;
0085 
0086     DTextLabelValue*   labelPhotoMake;
0087     DTextLabelValue*   labelPhotoModel;
0088     DTextLabelValue*   labelPhotoDateTime;
0089     DTextLabelValue*   labelPhotoLens;
0090     DTextLabelValue*   labelPhotoAperture;
0091     DTextLabelValue*   labelPhotoFocalLength;
0092     DTextLabelValue*   labelPhotoExposureTime;
0093     DTextLabelValue*   labelPhotoSensitivity;
0094     DTextLabelValue*   labelPhotoExposureMode;
0095     DTextLabelValue*   labelPhotoFlash;
0096     DTextLabelValue*   labelPhotoWhiteBalance;
0097 
0098     // NOTE: special case for the caption and title. See bug #460134
0099     QLabel*            labelCaption;
0100     QLabel*            labelTitle;
0101 
0102     QLabel*            labelTags;
0103     QLabel*            labelPeoples;
0104 
0105     QLabel*            labelLocation;
0106     QLabel*            labelRights;
0107 
0108     DTextLabelValue*   labelPickLabel;
0109     DTextLabelValue*   labelColorLabel;
0110     DTextLabelValue*   labelRating;
0111 
0112     DTextLabelValue*   labelVideoAspectRatio;
0113     DTextLabelValue*   labelVideoDuration;
0114     DTextLabelValue*   labelVideoFrameRate;
0115     DTextLabelValue*   labelVideoVideoCodec;
0116     DTextLabelValue*   labelVideoAudioBitRate;
0117     DTextLabelValue*   labelVideoAudioChannelType;
0118     DTextLabelValue*   labelVideoAudioCodec;
0119 
0120     DToolTipStyleSheet cnt;
0121 };
0122 
0123 } // namespace Digikam
0124 
0125 #endif // DIGIKAM_ITEM_PROPERTIES_TAB_P_H