Marble

GeoSceneZoom.h
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef MARBLE_GEOSCENEZOOM_H
8 #define MARBLE_GEOSCENEZOOM_H
9 
10 #include <geodata_export.h>
11 #include "GeoDocument.h"
12 
13 namespace Marble
14 {
15 
16 /**
17  * @short Zoom properties of a GeoScene document.
18  */
19 class GEODATA_EXPORT GeoSceneZoom : public GeoNode
20 {
21  public:
22  GeoSceneZoom();
23 
24  int minimum() const;
25  void setMinimum( int name );
26  int maximum() const;
27  void setMaximum( int target );
28  bool discrete() const;
29  void setDiscrete( bool theme );
30 
31  const char *nodeType() const override;
32 
33  private:
34  // FIXME: d-pointerfy
35 
36  int m_minimum;
37  int m_maximum;
38  bool m_discrete;
39 };
40 
41 }
42 
43 #endif
Zoom properties of a GeoScene document.
Definition: GeoSceneZoom.h:19
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:34
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 Tue Dec 5 2023 03:53:50 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.