Marble
6#ifndef MARBLE_DECLARATIVE_GEOITEM_H
7#define MARBLE_DECLARATIVE_GEOITEM_H
9#include "GeoDataCoordinates.h"
20 class MarbleQuickItem;
44 Q_INVOKABLE bool moveToScreenCoordinates(qreal x, qreal y);
47 qreal longitude()
const;
50 void setLongitude( qreal lon );
53 qreal latitude()
const;
56 void setLatitude( qreal lat );
59 qreal altitude()
const;
62 void setAltitude( qreal alt );
71 MarbleQuickItem* map()
const;
74 void setMap(MarbleQuickItem* map);
77 bool observable()
const;
80 bool visObservable()
const;
82 void setVisObservable(
bool visible);
85 qreal readonlyX()
const
91 qreal readonlyY()
const
97 void longitudeChanged();
98 void latitudeChanged();
99 void altitudeChanged();
101 void mapChanged(MarbleQuickItem* map);
103 void observableChanged(
bool observable);
105 void visObservableChanged(
bool visible);
107 void readonlyXChanged(qreal x);
108 void readonlyYChanged(qreal y);
112 MarbleQuickItem* m_map;
118 void updateScreenPosition();
119 void setMapToParentOnInit();
A 3d point representation.
Binds a QML item to a specific geodetic location in screen coordinates.
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:16 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.