digiKam
makernotewidget.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 : 2006-02-20
7  * Description : a widget to display non standard Exif metadata
8  * used by camera makers
9  *
10  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_MAKER_NOTE_WIDGET_H
26 #define DIGIKAM_MAKER_NOTE_WIDGET_H
27 
28 // Local includes
29 
30 #include "metadatawidget.h"
31 #include "digikam_export.h"
32 
33 namespace Digikam
34 {
35 
36 class DIGIKAM_EXPORT MakerNoteWidget : public MetadataWidget
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit MakerNoteWidget(QWidget* const parent,
43  const QString& name = QString());
44  ~MakerNoteWidget() override;
45 
46  bool loadFromURL(const QUrl& url) override;
47 
48  QString getTagDescription(const QString& key) override;
49  QString getTagTitle(const QString& key) override;
50 
51  QString getMetadataTitle() const override;
52 
53 protected Q_SLOTS:
54 
55  void slotSaveMetadataToFile() override;
56 
57 private:
58 
59  bool decodeMetadata() override;
60  void buildView() override;
61 
62 private:
63 
64  QStringList m_keysFilter;
65 };
66 
67 } // namespace Digikam
68 
69 #endif // DIGIKAM_MAKER_NOTE_WIDGET_H
Definition: makernotewidget.h:37
Definition: metadatawidget.h:44
Definition: datefolderview.cpp:43