digiKam
Loading...
Searching...
No Matches
geolocationsettingscontainer.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 : 2023-12-21
7 * Description : Geolocation Settings Container.
8 *
9 * SPDX-FileCopyrightText: 2022-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 <QDebug>
20#include <QFont>
21
22// Local includes
23
24#include "MarbleGlobal.h"
25#include "MarbleLocale.h"
26#include "digikam_export.h"
27
28class KConfigGroup;
29
30using namespace Marble;
31
32namespace Digikam
33{
34
38class DIGIKAM_EXPORT GeolocationSettingsContainer
39{
40public:
41
44
45public:
46
47 void readFromConfig(const KConfigGroup& group);
48 void writeToConfig(KConfigGroup& group) const;
49
50public:
51
52 MarbleLocale::MeasurementSystem distanceUnit = MarbleLocale::MetricSystem;
53
54 Marble::AngleUnit angleUnit = Marble::DecimalDegree;
55
56 Marble::MapQuality stillQuality = Marble::HighQuality;
57 Marble::MapQuality animationQuality = Marble::LowQuality;
58
59 QFont mapFont;
60
61 bool inertialRotation = true;
62 bool mouseRotation = true;
63
64 int volatileTileCacheLimit = 100;
65 int persistentTileCacheLimit = 999999;
66
67 bool showGrid = true;
68 bool showCross = true;
69 bool showAtmos = false;
70 bool showSunShading = false;
71 bool showCities = true;
72 bool showRelief = true;
73};
74
76DIGIKAM_EXPORT QDebug operator<<(QDebug dbg, const GeolocationSettingsContainer& inf);
77
78} // namespace Digikam
Definition geolocationsettingscontainer.h:39
QFont mapFont
Definition geolocationsettingscontainer.h:59
Definition datefolderview.cpp:34
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition dbengineparameters.cpp:930