marble
MarbleModel.cpp
Go to the documentation of this file.
83 m_homePoint( -9.4, 54.8, 0.0, GeoDataCoordinates::Degree ), // Some point that tackat defined. :-)
296 mDebug() << "Number of SRTM textures: " << d->m_mapTheme->map()->layer("srtm")->datasets().count();
305 if( d->m_mapTheme->head()->target().toLower() != d->m_planet->id() || radiusAttributeValue != d->m_planet->radius() ) {
589 const GeoSceneLayer * const layer = static_cast<const GeoSceneLayer*>( mapTheme->map()->layer( themeId ));
593 const GeoSceneTiled * const texture = static_cast<const GeoSceneTiled*>( layer->groundDataset() );
void clearPersistentTileCache()
Definition: MarbleModel.cpp:492
const GeoSceneAbstractDataset * groundDataset() const
Definition: GeoSceneLayer.cpp:108
void setPersistentTileCacheLimit(quint64 kiloBytes)
Set the limit of the persistent (on hard disc) tile cache.
Definition: MarbleModel.cpp:537
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:64
void removeGeoData(const QString &key)
Remove the file or raw data from the treeModel.
Definition: MarbleModel.cpp:666
void setMapThemeId(const QString &mapThemeId)
Set a new map theme to use.
Definition: MarbleModel.cpp:240
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:32
bool workOffline() const
Proxy Model for restructuring a Tree into a list.
Definition: kdescendantsproxymodel.h:69
void workOfflineChanged()
QItemSelectionModel * placemarkSelectionModel()
Definition: MarbleModel.cpp:437
GeoDataTreeModel * treeModel()
Return the list of Placemarks as a QAbstractItemModel *.
Definition: MarbleModel.cpp:407
static bool baseTilesAvailable(GeoSceneTiled const &texture)
Returns whether the mandatory most basic tile level is fully available for the given texture layer...
Definition: TileLoader.cpp:168
This file contains the headers for MarbleModel.
void setDownloadEnabled(const bool enable)
Switches loading on/off, useful for offline mode.
Definition: HttpDownloadManager.cpp:110
GeoSceneLayer * layer(const QString &name)
Return a layer by its name.
Definition: GeoSceneMap.cpp:102
Definition: TileCreatorDialog.h:31
const char * GeoDataPlacemarkType
Definition: GeoDataTypes.cpp:62
const char * GeoDataDocumentType
Definition: GeoDataTypes.cpp:34
void addGeoDataString(const QString &data, const QString &key="data")
Handle raw data loading into the treeModel.
Definition: MarbleModel.cpp:661
QString fileFormat() const
Definition: GeoSceneAbstractDataset.cpp:43
void setTrackedPlacemark(const GeoDataPlacemark *placemark)
Change the placemark tracked by this model.
Definition: MarbleModel.cpp:553
Definition: GeoSceneTiled.h:43
const char * GeoDataGroundOverlayType
Definition: GeoDataTypes.cpp:40
const PluginManager * pluginManager() const
Definition: MarbleModel.cpp:564
const Planet * planet() const
Returns the planet object for the current map.
Definition: MarbleModel.cpp:574
const GeoDataPlacemark * trackedPlacemark() const
Returns the placemark being tracked by this model or 0 if no placemark is currently tracked...
Definition: MarbleModel.cpp:559
Contents used inside a layer.
Definition: GeoSceneAbstractDataset.h:37
Definition: PositionTracking.h:31
QList< const DownloadPolicy * > downloadPolicies() const
Definition: GeoSceneTiled.cpp:248
This class is responsible for loading the book mark objects from the files and various book mark oper...
Definition: BookmarkManager.h:35
Definition: SunLocator.h:33
void addGeoDataFile(const QString &filename)
Handle file loading into the treeModel.
Definition: MarbleModel.cpp:655
void setWorkOffline(bool workOffline)
Definition: MarbleModel.cpp:689
void themeChanged(QString mapTheme)
Signal that the map theme has changed, and to which theme.
void home(qreal &lon, qreal &lat, int &zoom) const
get the home point
Definition: MarbleModel.cpp:376
Definition: GeoDataDocument.h:42
Definition: TileCreator.h:53
This class is responsible for loading the different files into Geodata model.
Definition: FileManager.h:36
PositionTracking * positionTracking() const
Definition: MarbleModel.cpp:442
Definition: Planet.h:25
static GeoSceneDocument * loadMapTheme(const QString &mapThemeStringID)
Returns the map theme as a GeoSceneDocument object.
Definition: MapThemeManager.cpp:155
quint64 persistentTileCacheLimit() const
Returns the limit in kilobytes of the persistent (on hard disc) tile cache.
Definition: MarbleModel.cpp:487
void updateProperty(const QString &property, bool value)
Definition: MarbleModel.cpp:671
void setClockTimezone(int timeInSec)
Definition: MarbleModel.cpp:635
void setClockDateTime(const QDateTime &datetime)
Definition: MarbleModel.cpp:615
const char * dgmlValue_geodata
Definition: DgmlAuxillaryDictionary.cpp:41
Definition: ElevationModel.h:33
Delegates data retrieval and model updates to the appropriate routing provider.
Definition: RoutingManager.h:37
void setTileFormat(const QString &format)
Definition: TileCreator.cpp:581
A container for features parsed from the DGML file.
Definition: GeoSceneDocument.h:44
void setHome(qreal lon, qreal lat, int zoom=1050)
Set the home point.
Definition: MarbleModel.cpp:382
Definition: GeoDataDocument.h:41
void homeChanged(const GeoDataCoordinates newHomePoint)
Emitted when the home location is changed.
QAbstractItemModel * groundOverlayModel()
Definition: MarbleModel.cpp:427
bool hasVectorLayers() const
Checks for valid layers that contain vector data.
Definition: GeoSceneMap.cpp:203
QVector< GeoSceneAbstractDataset * > datasets() const
Definition: GeoSceneLayer.cpp:124
BookmarkManager * bookmarkManager()
return instance of BookmarkManager
Definition: MarbleModel.cpp:206
HttpDownloadManager * downloadManager()
Return the downloadmanager to load missing tiles.
Definition: MarbleModel.cpp:396
Definition: MarbleClock.h:25
specifies the style how polygons are drawn
Definition: GeoDataPolyStyle.h:34
void setLegend(QTextDocument *document)
Definition: MarbleModel.cpp:650
virtual const char * nodeType() const
Provides type information for downcasting a GeoData.
Definition: GeoDataFeature.cpp:94
void trackedPlacemarkChanged(const GeoDataPlacemark *placemark)
Emitted when the placemark tracked by this model has changed.
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
QAbstractItemModel * placemarkModel()
Definition: MarbleModel.cpp:417
bool hasTextureLayers() const
Checks for valid layers that contain texture data.
Definition: GeoSceneMap.cpp:190
This class manages scheduled downloads.
Definition: HttpDownloadManager.h:44
Definition: GeoSceneGeodata.h:24
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.