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 <[email protected]>
4 // SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <[email protected]>
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 <[email protected]>
15  */
16 
17 #include "MarbleGlobal.h"
18 
19 
20 namespace Marble
21 {
22 
23 class ViewParamsPrivate;
24 
25 /**
26  * @short A public class that controls the painting of a MarbleWidget
27  *
28  */
29 
31 {
32  public:
33  ViewParams();
34  ~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
ViewContext
This enum is used to choose context in which map quality gets used.
Definition: MarbleGlobal.h:66
A public class that controls the painting of a MarbleWidget.
Definition: ViewParams.h:30
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:74
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.