digiKam
Loading...
Searching...
No Matches
templateviewer.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-06-29
7 * Description : metadata template viewer.
8 *
9 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <QString>
20
21// Local includes
22
23#include "digikam_export.h"
24#include "dexpanderbox.h"
25
26namespace Digikam
27{
28
29class Template;
30
31class DIGIKAM_GUI_EXPORT TemplateViewer : public DExpanderBox
32{
33 Q_OBJECT
34
35public:
36
37 explicit TemplateViewer(QWidget* const parent = nullptr);
38 ~TemplateViewer() override;
39
40 void setTemplate(const Template& t);
41
42private:
43
44 class Private;
45 Private* const d = nullptr;
46};
47
48} // namespace Digikam
Definition dexpanderbox.h:240
Definition templateviewer.h:32
Definition template.h:36
Definition datefolderview.cpp:34