Marble
Go to the documentation of this file.
12 #ifndef MARBLE_MARBLEMODEL_H
13 #define MARBLE_MARBLEMODEL_H
25 #include "marble_export.h"
30 #include "MarbleGlobal.h"
40 class GeoDataPlacemark;
43 class PositionTracking;
44 class HttpDownloadManager;
45 class MarbleModelPrivate;
50 class GeoDataCoordinates;
51 class GeoDataTreeModel;
52 class GeoSceneDocument;
55 class BookmarkManager;
88 friend class MarbleModelPrivate;
92 Q_PROPERTY(
QString mapThemeId READ mapThemeId WRITE setMapThemeId NOTIFY themeChanged )
93 Q_PROPERTY(
bool workOffline READ workOffline WRITE setWorkOffline NOTIFY workOfflineChanged )
150 void setMapThemeId(
const QString &mapThemeId );
158 void home( qreal &lon, qreal &lat,
int& zoom )
const;
165 void setHome( qreal lon, qreal lat,
int zoom = 1050 );
185 void addGeoDataFile(
const QString& filename );
198 void removeGeoData(
const QString& key );
202 PositionTracking *positionTracking()
const;
204 qreal planetRadius()
const;
208 MarbleClock *clock();
209 const MarbleClock *clock()
const;
211 SunLocator *sunLocator();
212 const SunLocator *sunLocator()
const;
218 quint64 persistentTileCacheLimit()
const;
224 quint64 volatileTileCacheLimit()
const;
234 const Planet *planet()
const;
239 void setClockDateTime(
const QDateTime& datetime );
243 int clockSpeed()
const;
245 void setClockSpeed(
int speed );
247 void setClockTimezone(
int timeInSec );
249 int clockTimezone()
const;
265 bool workOffline()
const;
267 void setWorkOffline(
bool workOffline );
269 ElevationModel* elevationModel();
270 const ElevationModel* elevationModel()
const;
280 void clearPersistentTileCache();
286 void setPersistentTileCacheLimit( quint64 kiloBytes );
294 void updateProperty(
const QString &property,
bool value );
303 void creatingTilesStart( TileCreator*,
const QString& name,
const QString& description );
311 void themeChanged(
const QString &mapTheme );
313 void workOfflineChanged();
329 Q_PRIVATE_SLOT( d,
void assignFillColors(
const QString &filePath ) )
332 MarbleModelPrivate *
const d;
A 3d point representation.
Delegates data retrieval and model updates to the appropriate routing provider.
This class manages scheduled downloads.
This class is responsible for loading the book mark objects from the files and various book mark oper...
The representation of GeoData in a model This class represents all available data given by kml-data f...
The class that handles Marble's plugins.
Binds a QML item to a specific geodetic location in screen coordinates.
a class representing a point of interest on the map
This class is responsible for loading the different files into Geodata model.
The data model (not based on QAbstractModel) for a MarbleWidget.
A container for features parsed from the DGML file.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:12:07 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.