digiKam
exiftoollistviewitem.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 : 2021-04-18
7  * Description : ExifTool metadata list view item.
8  *
9  * Copyright (C) 2021-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
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_EXIF_TOOL_LIST_VIEW_ITEM_H
25 #define DIGIKAM_EXIF_TOOL_LIST_VIEW_ITEM_H
26 
27 // Qt includes
28 
29 #include <QTreeWidget>
30 #include <QWidget>
31 #include <QString>
32 
33 namespace Digikam
34 {
35 
36 class ExifToolListViewGroup;
37 
38 class ExifToolListViewItem : public QTreeWidgetItem
39 {
40 public:
41 
43  const QString& key,
44  const QString& value,
45  const QString& desc);
47  const QString& key);
48 
49  ~ExifToolListViewItem() override;
50 
51  QString getKey() const;
52  QString getTitle() const;
53  QString getValue() const;
54  QString getDescription() const;
55 
56 private:
57 
58  Q_DISABLE_COPY(ExifToolListViewItem)
59 
60 private:
61 
62  class Private;
63  Private* const d;
64 
65 };
66 
67 } // namespace Digikam
68 
69 #endif // DIGIKAM_EXIF_TOOL_LIST_VIEW_ITEM_H
Definition: exiftoollistviewgroup.h:38
Definition: exiftoollistviewitem.h:39
ExifToolListViewItem(ExifToolListViewGroup *const parent, const QString &key, const QString &value, const QString &desc)
Definition: exiftoollistviewitem.cpp:55
~ExifToolListViewItem() override
Definition: exiftoollistviewitem.cpp:107
QString getKey() const
Definition: exiftoollistviewitem.cpp:112
QString getDescription() const
Definition: exiftoollistviewitem.cpp:127
QString getTitle() const
Definition: exiftoollistviewitem.cpp:117
QString getValue() const
Definition: exiftoollistviewitem.cpp:122
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43