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
11/** @file
12 * This file contains the headers for ViewParameters.
13 *
14 * @author Inge Wallin <inge@lysator.liu.se>
15 */
16
17#include "MarbleGlobal.h"
18
19
20namespace Marble
21{
22
23class ViewParamsPrivate;
24
25/**
26 * @short A public class that controls the painting of a MarbleWidget
27 *
28 */
29
31{
32 public:
33 ViewParams();
35
36 MapQuality mapQuality( ViewContext viewContext ) const;
37 MapQuality mapQuality() const;
38 void setMapQualityForViewContext( MapQuality quality, ViewContext viewContext );
39
40 ViewContext viewContext() const;
41 void setViewContext( ViewContext viewContext );
42
43 bool showAtmosphere() const;
44 void setShowAtmosphere( bool );
45
46 bool showClouds() const;
47 void setShowClouds( bool const );
48
49 private:
50 Q_DISABLE_COPY( ViewParams )
51 ViewParamsPrivate * const d;
52};
53
54}
55
56#endif
A public class that controls the painting of a MarbleWidget.
Definition ViewParams.h:31
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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.