marble
MarbleDeclarativeWidget.h
Go to the documentation of this file.
29 using Marble::GeoDataCoordinates; // Ouch. For signal/slot connection across different namespaces
61 Q_PROPERTY( QStringList activeRenderPlugins READ activeRenderPlugins WRITE setActiveRenderPlugins )
227 static void addLayer( QDeclarativeListProperty<DeclarativeDataPlugin> *list, DeclarativeDataPlugin *layer );
229 static void addLayer( QQmlListProperty<DeclarativeDataPlugin> *list, DeclarativeDataPlugin *layer );
int radius() const
Definition: ZoomButtonInterceptor.h:20
QString mapThemeId() const
Returns the currently active map theme id, if any, in the form of e.g.
void setDataPluginDelegate(const QString &plugin, QDeclarativeComponent *delegate)
Definition: MarbleDeclarativeWidget.cpp:342
void downloadRoute(qreal offset, int topTileLevel, int bottomTileLevel)
Definition: MarbleDeclarativeWidget.cpp:318
void setActiveRenderPlugins(const QStringList &items)
Definition: MarbleDeclarativeWidget.cpp:158
QDeclarativeListProperty< DeclarativeDataPlugin > dataLayers()
void workOfflineChanged()
const Marble::ViewportParams * viewport() const
Definition: MarbleDeclarativeWidget.cpp:90
QPoint pixel(qreal longitude, qreal latitude) const
Returns the screen position of the given coordinate (can be out of the screen borders) ...
Definition: MarbleDeclarativeWidget.cpp:223
QStandardItemModel * mapThemeModel()
bool workOffline() const
void centerOn(const Marble::GeoDataLatLonBox &bbox)
Definition: MarbleDeclarativeWidget.cpp:261
QStringList activeFloatItems() const
Returns a list of active (!) float items.
void setProjection(const QString &projection)
Change the active projection.
Definition: MarbleDeclarativeWidget.cpp:202
QString projection() const
Returns the active projection which can be either "Equirectangular", "Mercator" or "Spherical"...
bool inputEnabled() const
Returns true if the map accepts keyboard/mouse input.
Represents a coordinate with the properties of a name and coordinates.
Definition: Coordinate.h:28
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
Marble::RenderPlugin * renderPlugin(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:392
void setGeoSceneProperty(const QString &key, bool value)
Definition: MarbleDeclarativeWidget.cpp:313
Marble::AbstractFloatItem * floatItem(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:424
void visibleLatLonAltBoxChanged()
Forwarded from MarbleWidget.
void mouseClickGeoPosition(qreal longitude, qreal latitude)
The abstract class for float item plugins.
Definition: AbstractFloatItem.h:48
void radiusChanged()
void mapThemeModelChanged()
Coordinate * coordinate(int x, int y)
Returns the coordinate at the given screen position.
Definition: MarbleDeclarativeWidget.cpp:233
bool containsRenderPlugin(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:403
Definition: DeclarativeDataPlugin.h:25
QDeclarativeListProperty< QObject > children
Definition: MarbleDeclarativeWidget.h:68
void projectionChanged()
QDeclarativeListProperty< QObject > childList()
Definition: MarbleDeclarativeWidget.cpp:136
void placemarkSelected(Placemark *placemark)
void setInputEnabled(bool enabled)
Toggle keyboard/mouse input.
Definition: MarbleDeclarativeWidget.cpp:171
virtual bool sceneEvent(QEvent *event)
Definition: MarbleDeclarativeWidget.cpp:382
void setCenter(Coordinate *center)
Definition: MarbleDeclarativeWidget.cpp:249
The class that handles map themes that are locally available .
Definition: MapThemeManager.h:48
Coordinate * center()
void downloadArea(int topTileLevel, int bottomTileLevel)
Definition: MarbleDeclarativeWidget.cpp:330
void setMapThemeId(const QString &mapThemeId)
Change the currently active map theme id.
Definition: MarbleDeclarativeWidget.cpp:182
QList< QObject * > floatItems() const
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
void setWorkOffline(bool workOffline)
Definition: MarbleDeclarativeWidget.cpp:358
void mapThemeChanged()
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
QStringList activeRenderPlugins() const
QList< QObject * > renderPlugins() const
void setActiveFloatItems(const QStringList &items)
Activates all of the given float items and deactivates any others.
Definition: MarbleDeclarativeWidget.cpp:116
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
bool containsFloatItem(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:435
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.