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
qreal x() const
qreal y() 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:344
void downloadRoute(qreal offset, int topTileLevel, int bottomTileLevel)
Definition: MarbleDeclarativeWidget.cpp:319
void setActiveRenderPlugins(const QStringList &items)
Definition: MarbleDeclarativeWidget.cpp:159
QDeclarativeListProperty< DeclarativeDataPlugin > dataLayers()
void workOfflineChanged()
const Marble::ViewportParams * viewport() const
Definition: MarbleDeclarativeWidget.cpp:91
const QObjectList & children() const
enabled
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:224
QStandardItemModel * mapThemeModel()
bool workOffline() const
void centerOn(const Marble::GeoDataLatLonBox &bbox)
Definition: MarbleDeclarativeWidget.cpp:262
QStringList activeFloatItems() const
Returns a list of active (!) float items.
void setProjection(const QString &projection)
Change the active projection.
Definition: MarbleDeclarativeWidget.cpp:203
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:104
Marble::RenderPlugin * renderPlugin(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:394
const char * name() const
void setGeoSceneProperty(const QString &key, bool value)
Definition: MarbleDeclarativeWidget.cpp:314
Marble::AbstractFloatItem * floatItem(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:426
void visibleLatLonAltBoxChanged()
Forwarded from MarbleWidget.
void mouseClickGeoPosition(qreal longitude, qreal latitude)
The abstract class for float item plugins.
Definition: AbstractFloatItem.h:45
void radiusChanged()
void mapThemeModelChanged()
Coordinate * coordinate(int x, int y)
Returns the coordinate at the given screen position.
Definition: MarbleDeclarativeWidget.cpp:234
bool containsRenderPlugin(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:405
Definition: DeclarativeDataPlugin.h:25
GraphicsItemFlags flags() const
void projectionChanged()
QDeclarativeListProperty< QObject > childList()
Definition: MarbleDeclarativeWidget.cpp:137
void placemarkSelected(Placemark *placemark)
void setInputEnabled(bool enabled)
Toggle keyboard/mouse input.
Definition: MarbleDeclarativeWidget.cpp:172
virtual bool sceneEvent(QEvent *event)
Definition: MarbleDeclarativeWidget.cpp:384
void setCenter(Coordinate *center)
Definition: MarbleDeclarativeWidget.cpp:250
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:332
void setMapThemeId(const QString &mapThemeId)
Change the currently active map theme id.
Definition: MarbleDeclarativeWidget.cpp:183
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:360
QObject * parent() const
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:117
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
bool containsFloatItem(const QString &name)
Definition: MarbleDeclarativeWidget.cpp:437
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.