digiKam
Loading...
Searching...
No Matches
frameosdsettings.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-07-24
7 * Description : frame on screen display settings container.
8 *
9 * SPDX-FileCopyrightText: 2021-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2021 by Quoc Hưng Tran <quochungtran1999 at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Qt includes
19
20#include <QList>
21#include <QString>
22#include <QFont>
23#include <QFontDatabase>
24
25// Local includes
26
27#include "digikam_export.h"
28
29class KConfigGroup;
30
31namespace Digikam
32{
33
34class DIGIKAM_EXPORT FrameOsdSettings
35{
36
37public:
38
39 FrameOsdSettings() = default;
40 ~FrameOsdSettings() = default;
41
45 void readSettings(const KConfigGroup& group);
46 void writeSettings(KConfigGroup& group);
47
48public:
49
50 bool printName = true;
51 bool printDate = true;
52 bool printTitle = false;
53 bool printTags = false;
54 bool printCapIfNoTitle = false;
55 bool printComment = false;
56 bool printMakeModel = false;
57 bool printLensModel = false;
58 bool printExpoSensitivity = false;
59 bool printApertureFocal = false;
60 bool printRating = false;
61
65 QFont osdFont = QFontDatabase::systemFont(QFontDatabase::GeneralFont);
66};
67
68} // namespace Digikam
Definition frameosdsettings.h:35
Definition datefolderview.cpp:34