• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • 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 <ingwa@kde.org>
9 // Copyright 2008 Jens-Michael Hoffmann <jensmh@gmx.de>
10 //
11 
12 #ifndef MARBLE_VIEWPARAMS_H
13 #define MARBLE_VIEWPARAMS_H
14 
15 
22 #include <QString>
23 
24 #include "MarbleGlobal.h"
25 
26 
27 namespace Marble
28 {
29 
30 class ViewParamsPrivate;
31 
37 class ViewParams
38 {
39  public:
40  ViewParams();
41  ~ViewParams();
42 
43  MapQuality mapQuality( ViewContext viewContext ) const;
44  MapQuality mapQuality() const;
45  void setMapQualityForViewContext( MapQuality quality, ViewContext viewContext );
46 
47  ViewContext viewContext() const;
48  void setViewContext( ViewContext viewContext );
49 
50  bool showAtmosphere() const;
51  void setShowAtmosphere( bool );
52 
53  bool showClouds() const;
54  void setShowClouds( bool const );
55 
56  private:
57  Q_DISABLE_COPY( ViewParams )
58  ViewParamsPrivate * const d;
59 };
60 
61 }
62 
63 #endif
Marble::ViewParams
A public class that controls the painting of a MarbleWidget.
Definition: ViewParams.h:37
Marble::ViewContext
ViewContext
This enum is used to choose context in which map quality gets used.
Definition: MarbleGlobal.h:74
Marble::ViewParams::~ViewParams
~ViewParams()
Definition: ViewParams.cpp:63
Marble::MapQuality
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:82
Marble::ViewParams::setViewContext
void setViewContext(ViewContext viewContext)
Definition: ViewParams.cpp:101
Marble::ViewParams::viewContext
ViewContext viewContext() const
Definition: ViewParams.cpp:96
Marble::ViewParams::showAtmosphere
bool showAtmosphere() const
Definition: ViewParams.cpp:111
MarbleGlobal.h
Marble::ViewParams::setShowClouds
void setShowClouds(bool const )
Definition: ViewParams.cpp:126
Marble::ViewParams::setShowAtmosphere
void setShowAtmosphere(bool)
Definition: ViewParams.cpp:116
Marble::ViewParams::setMapQualityForViewContext
void setMapQualityForViewContext(MapQuality quality, ViewContext viewContext)
Definition: ViewParams.cpp:82
Marble::ViewParams::mapQuality
MapQuality mapQuality() const
Definition: ViewParams.cpp:77
Marble::ViewParams::ViewParams
ViewParams()
Definition: ViewParams.cpp:58
Marble::ViewParams::showClouds
bool showClouds() const
Definition: ViewParams.cpp:121
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal