digiKam
showfotosetupmetadata.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 : 2009-07-18
7  * Description : setup Metadata tab.
8  *
9  * Copyright (C) 2009-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 SHOW_FOTO_SETUP_METADATA_H
25 #define SHOW_FOTO_SETUP_METADATA_H
26 
27 // Qt includes
28 
29 #include <QScrollArea>
30 
31 namespace ShowFoto
32 {
33 
34 class ShowfotoSetupMetadata : public QScrollArea
35 {
36  Q_OBJECT
37 
38 public:
39 
41  {
42  Behavior = 0,
47  ExifTool
48  };
49 
50 public:
51 
52  explicit ShowfotoSetupMetadata(QWidget* const parent = nullptr);
53  ~ShowfotoSetupMetadata() override;
54 
55  void applySettings();
56  void setActiveTab(MetadataTab tab);
57 
58 private:
59 
60  void readSettings();
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace ShowFoto
69 
70 #endif // SHOW_FOTO_SETUP_METADATA_H
Definition: showfotosetupmetadata.h:35
void applySettings()
Definition: showfotosetupmetadata.cpp:185
MetadataTab
Definition: showfotosetupmetadata.h:41
@ MakernotesViewer
Definition: showfotosetupmetadata.h:44
@ IptcViewer
Definition: showfotosetupmetadata.h:45
@ ExifViewer
Definition: showfotosetupmetadata.h:43
@ ExifTool
Definition: showfotosetupmetadata.h:47
@ XmpViewer
Definition: showfotosetupmetadata.h:46
@ Behavior
Definition: showfotosetupmetadata.h:42
ShowfotoSetupMetadata(QWidget *const parent=nullptr)
Definition: showfotosetupmetadata.cpp:80
void setActiveTab(MetadataTab tab)
Definition: showfotosetupmetadata.cpp:220
~ShowfotoSetupMetadata() override
Definition: showfotosetupmetadata.cpp:180
Definition: showfotofolderviewbar.cpp:52