Marble

ViewParams.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2007 Inge Wallin <[email protected]>
9 // Copyright 2008 Jens-Michael Hoffmann <[email protected]>
10 //
11 
12 #ifndef MARBLE_VIEWPARAMS_H
13 #define MARBLE_VIEWPARAMS_H
14 
15 
22 #include "MarbleGlobal.h"
23 
24 
25 namespace Marble
26 {
27 
28 class ViewParamsPrivate;
29 
36 {
37  public:
38  ViewParams();
39  ~ViewParams();
40 
41  MapQuality mapQuality( ViewContext viewContext ) const;
42  MapQuality mapQuality() const;
43  void setMapQualityForViewContext( MapQuality quality, ViewContext viewContext );
44 
45  ViewContext viewContext() const;
46  void setViewContext( ViewContext viewContext );
47 
48  bool showAtmosphere() const;
49  void setShowAtmosphere( bool );
50 
51  bool showClouds() const;
52  void setShowClouds( bool const );
53 
54  private:
55  Q_DISABLE_COPY( ViewParams )
56  ViewParamsPrivate * const d;
57 };
58 
59 }
60 
61 #endif
A public class that controls the painting of a MarbleWidget.
Definition: ViewParams.h:35
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.
Definition: MarbleGlobal.h:70
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jun 2 2020 22:32:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.