Marble

ViewParams.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2007 Inge Wallin <ingwa@kde.org>
4// SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <jensmh@gmx.de>
5//
6
7#ifndef MARBLE_VIEWPARAMS_H
8#define MARBLE_VIEWPARAMS_H
9
10/** @file
11 * This file contains the headers for ViewParameters.
12 *
13 * @author Inge Wallin <inge@lysator.liu.se>
14 */
15
16#include "MarbleGlobal.h"
17
18namespace Marble
19{
20
21class ViewParamsPrivate;
22
23/**
24 * @short A public class that controls the painting of a MarbleWidget
25 *
26 */
27
29{
30public:
31 ViewParams();
33
34 MapQuality mapQuality(ViewContext viewContext) const;
35 MapQuality mapQuality() const;
36 void setMapQualityForViewContext(MapQuality quality, ViewContext viewContext);
37
38 ViewContext viewContext() const;
39 void setViewContext(ViewContext viewContext);
40
41 bool showAtmosphere() const;
42 void setShowAtmosphere(bool);
43
44 bool showClouds() const;
45 void setShowClouds(bool const);
46
47private:
48 Q_DISABLE_COPY(ViewParams)
49 ViewParamsPrivate *const d;
50};
51
52}
53
54#endif
A public class that controls the painting of a MarbleWidget.
Definition ViewParams.h:29
Binds a QML item to a specific geodetic location in screen coordinates.
ViewContext
This enum is used to choose context in which map quality gets used.
MapQuality
This enum is used to choose the map quality shown in the view.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.