• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • MarbleMap
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
Marble::MarbleMap Class Reference

#include <MarbleMap.h>

Inheritance diagram for Marble::MarbleMap:
Inheritance graph
[legend]

Public Slots

void centerOn (const qreal lon, const qreal lat)
 
void clearVolatileTileCache ()
 
void downloadRegion (QVector< TileCoordsPyramid > const &)
 
void notifyMouseClick (int x, int y)
 
void paint (GeoPainter &painter, const QRect &dirtyRect)
 
void reload ()
 
void rotateBy (const qreal &deltaLon, const qreal &deltaLat)
 
void setCenterLatitude (qreal lat)
 
void setCenterLongitude (qreal lon)
 
void setDefaultAngleUnit (AngleUnit angleUnit)
 
void setDefaultFont (const QFont &font)
 
void setLockToSubSolarPoint (bool visible)
 
void setMapThemeId (const QString &maptheme)
 
void setProjection (Projection projection)
 
void setPropertyValue (const QString &name, bool value)
 
void setRadius (int radius)
 
void setShowAtmosphere (bool visible)
 
void setShowBackground (bool visible)
 
void setShowBorders (bool visible)
 
void setShowCities (bool visible)
 
void setShowCityLights (bool visible)
 
void setShowClouds (bool visible)
 
void setShowCompass (bool visible)
 
void setShowCrosshairs (bool visible)
 
void setShowFrameRate (bool visible)
 
void setShowGrid (bool visible)
 
void setShowIceLayer (bool visible)
 
void setShowLakes (bool visible)
 
void setShowOtherPlaces (bool visible)
 
void setShowOverviewMap (bool visible)
 
void setShowPlaces (bool visible)
 
void setShowRelief (bool visible)
 
void setShowRivers (bool visible)
 
void setShowRuntimeTrace (bool visible)
 
void setShowScaleBar (bool visible)
 
void setShowSunShading (bool visible)
 
void setShowTerrain (bool visible)
 
void setShowTileId (bool visible)
 
void setSubSolarPointIconVisible (bool visible)
 
void setVolatileTileCacheLimit (quint64 kiloBytes)
 

Signals

void framesPerSecond (qreal fps)
 
void mouseClickGeoPosition (qreal lon, qreal lat, GeoDataCoordinates::Unit)
 
void mouseMoveGeoPosition (const QString &)
 
void pluginSettingsChanged ()
 
void projectionChanged (Projection)
 
void radiusChanged (int radius)
 
void renderPluginInitialized (RenderPlugin *renderPlugin)
 
void repaintNeeded (const QRegion &dirtyRegion=QRegion())
 
void themeChanged (const QString &theme)
 
void tileLevelChanged (int level)
 
void visibleLatLonAltBoxChanged (const GeoDataLatLonAltBox &visibleLatLonAltBox)
 

Public Member Functions

 MarbleMap ()
 
 MarbleMap (MarbleModel *model)
 
virtual ~MarbleMap ()
 
void addLayer (LayerInterface *layer)
 
qreal centerLatitude () const
 
qreal centerLongitude () const
 
QList< AbstractDataPlugin * > dataPlugins () const
 
AngleUnit defaultAngleUnit () const
 
QFont defaultFont () const
 
AbstractFloatItem * floatItem (const QString &nameId) const
 
QList< AbstractFloatItem * > floatItems () const
 
bool geoCoordinates (int x, int y, qreal &lon, qreal &lat, GeoDataCoordinates::Unit=GeoDataCoordinates::Degree) const
 
int height () const
 
bool isLockedToSubSolarPoint () const
 
bool isSubSolarPointIconVisible () const
 
MapQuality mapQuality (ViewContext viewContext) const
 
MapQuality mapQuality () const
 
QString mapThemeId () const
 
int maximumZoom () const
 
int minimumZoom () const
 
MarbleModel * model () const
 
int preferredRadiusCeil (int radius)
 
int preferredRadiusFloor (int radius)
 
Projection projection () const
 
bool propertyValue (const QString &name) const
 
int radius () const
 
void removeLayer (LayerInterface *layer)
 
QList< RenderPlugin * > renderPlugins () const
 
bool screenCoordinates (qreal lon, qreal lat, qreal &x, qreal &y) const
 
void setMapQualityForViewContext (MapQuality qualityForViewContext, ViewContext viewContext)
 
void setSize (int width, int height)
 
void setSize (const QSize &size)
 
void setViewContext (ViewContext viewContext)
 
bool showAtmosphere () const
 
bool showBackground () const
 
bool showBorders () const
 
bool showCities () const
 
bool showCityLights () const
 
bool showClouds () const
 
bool showCompass () const
 
bool showCrosshairs () const
 
bool showFrameRate () const
 
bool showGrid () const
 
bool showIceLayer () const
 
bool showLakes () const
 
bool showOtherPlaces () const
 
bool showOverviewMap () const
 
bool showPlaces () const
 
bool showRelief () const
 
bool showRivers () const
 
bool showScaleBar () const
 
bool showSunShading () const
 
bool showTerrain () const
 
QSize size () const
 
const TextureLayer * textureLayer () const
 
int tileZoomLevel () const
 
ViewContext viewContext () const
 
ViewportParams * viewport ()
 
const ViewportParams * viewport () const
 
quint64 volatileTileCacheLimit () const
 
QVector< const GeoDataPlacemark * > whichFeatureAt (const QPoint &) const
 
QList< AbstractDataPluginItem * > whichItemAt (const QPoint &curpos) const
 
int width () const
 

Protected Member Functions

virtual void customPaint (GeoPainter *painter)
 

Detailed Description

A class that can paint a view of the earth.

FIXME: Change this description when we are done.

This class can paint a view of the earth or any other globe, depending on which dataset is used. It can be used to show the globe in a widget like MarbleWidget does, or on any other QPaintDevice.

The projection and other view parameters that control how MarbleMap paints the map is given through the class ViewParams. If the programmer wants to allow the user to control the map, he/she has to provide a way for the user to interact with it. An example of this can be seen in the class MarbleWidgetInputHandler, that lets the user control a MarbleWidget that uses MarbleMap internally.

The MarbleMap needs to be provided with a data model to work. This model is contained in the MarbleModel class. The widget can also construct its own model if none is given to the constructor. This data model contains 3 separate datatypes: tiles which provide the background, vectors which provide things like country borders and coastlines and placemarks which can show points of interest, such as cities, mountain tops or the poles.

See also
MarbleWidget
MarbleControlBox
MarbleModel

Definition at line 90 of file MarbleMap.h.

Constructor & Destructor Documentation

Marble::MarbleMap::MarbleMap ( )

Construct a new MarbleMap.

This constructor should be used when you will only use one MarbleMap. The widget will create its own MarbleModel when created.

Definition at line 256 of file MarbleMap.cpp.

Marble::MarbleMap::MarbleMap ( MarbleModel *  model)
explicit

Construct a new MarbleMap.

Parameters
modelthe data model for the widget.

This constructor should be used when you plan to use more than one MarbleMap for the same MarbleModel (not yet supported, but will be soon).

Definition at line 267 of file MarbleMap.cpp.

Marble::MarbleMap::~MarbleMap ( )
virtual

Definition at line 280 of file MarbleMap.cpp.

Member Function Documentation

void Marble::MarbleMap::addLayer ( LayerInterface *  layer)

Add a layer to be included in rendering.

Definition at line 1293 of file MarbleMap.cpp.

qreal Marble::MarbleMap::centerLatitude ( ) const

Return the latitude of the center point.

Returns
The latitude of the center point in degree.

Definition at line 420 of file MarbleMap.cpp.

qreal Marble::MarbleMap::centerLongitude ( ) const

Return the longitude of the center point.

Returns
The longitude of the center point in degree.

Definition at line 428 of file MarbleMap.cpp.

void Marble::MarbleMap::centerOn ( const qreal  lon,
const qreal  lat 
)
slot

Center the view on a geographical point.

Parameters
latan angle parallel to the latitude lines +90(N) - -90(S)
lonan angle parallel to the longitude lines +180(W) - -180(E)

Definition at line 657 of file MarbleMap.cpp.

void Marble::MarbleMap::clearVolatileTileCache ( )
slot

Definition at line 1214 of file MarbleMap.cpp.

void Marble::MarbleMap::customPaint ( GeoPainter *  painter)
protectedvirtual

Enables custom drawing onto the MarbleMap straight after.

the globe and before all other layers have been rendered.

Parameters
painter
Deprecated:
implement LayerInterface and add it using addLayer()

Definition at line 776 of file MarbleMap.cpp.

QList< AbstractDataPlugin * > Marble::MarbleMap::dataPlugins ( ) const

Returns a list of all DataPlugins on the layer.

Returns
the list of DataPlugins

Definition at line 1283 of file MarbleMap.cpp.

AngleUnit Marble::MarbleMap::defaultAngleUnit ( ) const

Definition at line 1227 of file MarbleMap.cpp.

QFont Marble::MarbleMap::defaultFont ( ) const

Definition at line 1251 of file MarbleMap.cpp.

void Marble::MarbleMap::downloadRegion ( QVector< TileCoordsPyramid > const &  pyramid)
slot

Definition at line 462 of file MarbleMap.cpp.

AbstractFloatItem * Marble::MarbleMap::floatItem ( const QString &  nameId) const

Returns a list of all FloatItems in the model.

Returns
the list of the floatItems

Definition at line 1272 of file MarbleMap.cpp.

QList< AbstractFloatItem * > Marble::MarbleMap::floatItems ( ) const

Definition at line 1267 of file MarbleMap.cpp.

void Marble::MarbleMap::framesPerSecond ( qreal  fps)
signal
bool Marble::MarbleMap::geoCoordinates ( int  x,
int  y,
qreal &  lon,
qreal &  lat,
GeoDataCoordinates::Unit  unit = GeoDataCoordinates::Degree 
) const

Get the earth coordinates corresponding to a pixel in the map.

Parameters
xthe x coordinate of the pixel
ythe y coordinate of the pixel
lonthe longitude angle is returned through this parameter
latthe latitude angle is returned through this parameter
Returns
true if the pixel (x, y) is within the globe false if the pixel (x, y) is outside the globe, i.e. in space.

Definition at line 700 of file MarbleMap.cpp.

int Marble::MarbleMap::height ( ) const

Definition at line 373 of file MarbleMap.cpp.

bool Marble::MarbleMap::isLockedToSubSolarPoint ( ) const

Return whether the globe is locked to the sub solar point.

Returns
if globe is locked to sub solar point

Definition at line 558 of file MarbleMap.cpp.

bool Marble::MarbleMap::isSubSolarPointIconVisible ( ) const

Return whether the sun icon is shown in the sub solar point.

Returns
visibility of the sun icon in the sub solar point

Definition at line 563 of file MarbleMap.cpp.

MapQuality Marble::MarbleMap::mapQuality ( ViewContext  viewContext) const

Definition at line 321 of file MarbleMap.cpp.

MapQuality Marble::MarbleMap::mapQuality ( ) const

Return the current map quality.

Definition at line 326 of file MarbleMap.cpp.

QString Marble::MarbleMap::mapThemeId ( ) const

Get the ID of the current map theme To ensure that a unique identifier is being used the theme does NOT get represented by its name but the by relative location of the file that specifies the theme:

Example: maptheme = "earth/bluemarble/bluemarble.dgml"

Definition at line 781 of file MarbleMap.cpp.

int Marble::MarbleMap::maximumZoom ( ) const

return the minimum zoom value for the current map theme.

Definition at line 444 of file MarbleMap.cpp.

int Marble::MarbleMap::minimumZoom ( ) const

return the minimum zoom value for the current map theme.

Definition at line 436 of file MarbleMap.cpp.

MarbleModel * Marble::MarbleMap::model ( ) const

Return the model that this view shows.

Definition at line 297 of file MarbleMap.cpp.

void Marble::MarbleMap::mouseClickGeoPosition ( qreal  lon,
qreal  lat,
GeoDataCoordinates::Unit   
)
signal
void Marble::MarbleMap::mouseMoveGeoPosition ( const QString &  )
signal
void Marble::MarbleMap::notifyMouseClick ( int  x,
int  y 
)
slot

used to notify about the position of the mouse click

Definition at line 1202 of file MarbleMap.cpp.

void Marble::MarbleMap::paint ( GeoPainter &  painter,
const QRect &  dirtyRect 
)
slot

Paint the map using a give painter.

Parameters
painterThe painter to use.
dirtyRectthe rectangle that actually needs repainting.

Definition at line 752 of file MarbleMap.cpp.

void Marble::MarbleMap::pluginSettingsChanged ( )
signal

This signal is emit when the settings of a plugin changed.

int Marble::MarbleMap::preferredRadiusCeil ( int  radius)

Definition at line 396 of file MarbleMap.cpp.

int Marble::MarbleMap::preferredRadiusFloor ( int  radius)

Definition at line 405 of file MarbleMap.cpp.

Projection Marble::MarbleMap::projection ( ) const

Get the Projection used for the map.

Returns
Spherical a Globe
Equirectangular a flat map
Mercator another flat map

Definition at line 674 of file MarbleMap.cpp.

void Marble::MarbleMap::projectionChanged ( Projection  )
signal
bool Marble::MarbleMap::propertyValue ( const QString &  name) const

Return the property value by name.

Returns
The property value (usually: visibility).

Definition at line 510 of file MarbleMap.cpp.

int Marble::MarbleMap::radius ( ) const

Return the radius of the globe in pixels.

Definition at line 378 of file MarbleMap.cpp.

void Marble::MarbleMap::radiusChanged ( int  radius)
signal
void Marble::MarbleMap::reload ( )
slot

Reload the currently displayed map by reloading texture tiles from the Internet.

In the future this should be extended to all kinds of data which is used in the map.

Definition at line 457 of file MarbleMap.cpp.

void Marble::MarbleMap::removeLayer ( LayerInterface *  layer)

Remove a layer from being included in rendering.

Definition at line 1298 of file MarbleMap.cpp.

void Marble::MarbleMap::renderPluginInitialized ( RenderPlugin *  renderPlugin)
signal

Signal that a render item has been initialized.

QList< RenderPlugin * > Marble::MarbleMap::renderPlugins ( ) const

Returns a list of all RenderPlugins in the model, this includes float items.

Returns
the list of RenderPlugins

Definition at line 1262 of file MarbleMap.cpp.

void Marble::MarbleMap::repaintNeeded ( const QRegion &  dirtyRegion = QRegion())
signal

This signal is emitted when the repaint of the view was requested.

If available with the dirtyRegion which is the region the view will change in. If dirtyRegion.isEmpty() returns true, the whole viewport has to be repainted.

void Marble::MarbleMap::rotateBy ( const qreal &  deltaLon,
const qreal &  deltaLat 
)
slot

Rotate the view by the two angles phi and theta.

Parameters
deltaLonan angle that specifies the change in terms of longitude
deltaLatan angle that specifies the change in terms of latitude

This function rotates the view by two angles, deltaLon ("theta") and deltaLat ("phi"). If we start at (0, 0), the result will be the exact equivalent of (lon, lat), otherwise the resulting angle will be the sum of the previous position and the two offsets.

Definition at line 650 of file MarbleMap.cpp.

bool Marble::MarbleMap::screenCoordinates ( qreal  lon,
qreal  lat,
qreal &  x,
qreal &  y 
) const

Get the screen coordinates corresponding to geographical coordinates in the map.

Parameters
lonthe lon coordinate of the requested pixel position
latthe lat coordinate of the requested pixel position
xthe x coordinate of the pixel is returned through this parameter
ythe y coordinate of the pixel is returned through this parameter
Returns
true if the geographical coordinates are visible on the screen false if the geographical coordinates are not visible on the screen

Definition at line 694 of file MarbleMap.cpp.

void Marble::MarbleMap::setCenterLatitude ( qreal  lat)
slot

Set the latitude for the center point.

Parameters
latthe new value for the latitude in degree

Definition at line 664 of file MarbleMap.cpp.

void Marble::MarbleMap::setCenterLongitude ( qreal  lon)
slot

Set the longitude for the center point.

Parameters
lonthe new value for the longitude in degree

Definition at line 669 of file MarbleMap.cpp.

void Marble::MarbleMap::setDefaultAngleUnit ( AngleUnit  angleUnit)
slot

Definition at line 1238 of file MarbleMap.cpp.

void Marble::MarbleMap::setDefaultFont ( const QFont &  font)
slot

Definition at line 1256 of file MarbleMap.cpp.

void Marble::MarbleMap::setLockToSubSolarPoint ( bool  visible)
slot

Set the globe locked to the sub solar point.

Parameters
vsibleif globe is locked to the sub solar point

Definition at line 1106 of file MarbleMap.cpp.

void Marble::MarbleMap::setMapQualityForViewContext ( MapQuality  qualityForViewContext,
ViewContext  viewContext 
)

Definition at line 313 of file MarbleMap.cpp.

void Marble::MarbleMap::setMapThemeId ( const QString &  maptheme)
slot

Set a new map theme.

Parameters
mapthemeThe ID of the new maptheme. To ensure that a unique identifier is being used the theme does NOT get represented by its name but the by relative location of the file that specifies the theme:

Example: maptheme = "earth/bluemarble/bluemarble.dgml"

Definition at line 786 of file MarbleMap.cpp.

void Marble::MarbleMap::setProjection ( Projection  projection)
slot

Set the Projection used for the map.

Parameters
projectionprojection type (e.g. Spherical, Equirectangular, Mercator)

Definition at line 679 of file MarbleMap.cpp.

void Marble::MarbleMap::setPropertyValue ( const QString &  name,
bool  value 
)
slot

Sets the value of a map theme property.

Parameters
valuevalue of the property (usually: visibility)

Later on we might add a "setPropertyType and a QVariant if needed.

Definition at line 1038 of file MarbleMap.cpp.

void Marble::MarbleMap::setRadius ( int  radius)
slot

Set the radius of the globe in pixels.

Parameters
radiusThe new globe radius value in pixels.

Definition at line 383 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowAtmosphere ( bool  visible)
slot

Set whether the atmospheric glow is visible.

Parameters
visiblevisibility of the atmospheric glow

Definition at line 1065 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowBackground ( bool  visible)
slot

Definition at line 1197 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowBorders ( bool  visible)
slot

Set whether the borders visible.

Parameters
visiblevisibility of the borders

Definition at line 1172 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowCities ( bool  visible)
slot

Set whether the city place mark overlay is visible.

Parameters
visiblevisibility of the city place marks

Definition at line 1147 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowCityLights ( bool  visible)
slot

Set whether city lights instead of night shadow are visible.

Parameters
visiblevisibility of city lights

Definition at line 1100 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowClouds ( bool  visible)
slot

Set whether the cloud cover is visible.

Parameters
visiblevisibility of the cloud cover

Definition at line 1088 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowCompass ( bool  visible)
slot

Set whether the compass overlay is visible.

Parameters
visiblevisibility of the compass

Definition at line 1060 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowCrosshairs ( bool  visible)
slot

Set whether the crosshairs are visible.

Parameters
visiblevisibility of the crosshairs

Definition at line 1076 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowFrameRate ( bool  visible)
slot

Set whether the frame rate gets shown.

Parameters
visiblevisibility of the frame rate

Definition at line 1187 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowGrid ( bool  visible)
slot

Set whether the coordinate grid overlay is visible.

Parameters
visiblevisibility of the coordinate grid

Definition at line 1137 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowIceLayer ( bool  visible)
slot

Set whether the ice layer is visible.

Parameters
visiblevisibility of the ice layer

Definition at line 1167 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowLakes ( bool  visible)
slot

Set whether the lakes are visible.

Parameters
visiblevisibility of the lakes

Definition at line 1182 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowOtherPlaces ( bool  visible)
slot

Set whether the other places overlay is visible.

Parameters
visiblevisibility of other places

Definition at line 1157 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowOverviewMap ( bool  visible)
slot

Set whether the overview map overlay is visible.

Parameters
visiblevisibility of the overview map

Definition at line 1050 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowPlaces ( bool  visible)
slot

Set whether the place mark overlay is visible.

Parameters
visiblevisibility of the place marks

Definition at line 1142 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowRelief ( bool  visible)
slot

Set whether the relief is visible.

Parameters
visiblevisibility of the relief

Definition at line 1162 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowRivers ( bool  visible)
slot

Set whether the rivers are visible.

Parameters
visiblevisibility of the rivers

Definition at line 1177 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowRuntimeTrace ( bool  visible)
slot

Definition at line 1192 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowScaleBar ( bool  visible)
slot

Set whether the scale bar overlay is visible.

Parameters
visiblevisibility of the scale bar

Definition at line 1055 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowSunShading ( bool  visible)
slot

Set whether the night shadow is visible.

Parameters
visibilevisibility of shadow

Definition at line 1095 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowTerrain ( bool  visible)
slot

Set whether the terrain place mark overlay is visible.

Parameters
visiblevisibility of the terrain place marks

Definition at line 1152 of file MarbleMap.cpp.

void Marble::MarbleMap::setShowTileId ( bool  visible)
slot

Set whether the is tile is visible NOTE: This is part of the transitional debug API and might be subject to changes until Marble 0.8.

Parameters
visiblevisibility of the tile

Definition at line 1132 of file MarbleMap.cpp.

void Marble::MarbleMap::setSize ( int  width,
int  height 
)

Definition at line 351 of file MarbleMap.cpp.

void Marble::MarbleMap::setSize ( const QSize &  size)

Definition at line 356 of file MarbleMap.cpp.

void Marble::MarbleMap::setSubSolarPointIconVisible ( bool  visible)
slot

Set whether the sun icon is shown in the sub solar point.

Parameters
visibleif the sun icon is shown in the sub solar point

Definition at line 1125 of file MarbleMap.cpp.

void Marble::MarbleMap::setViewContext ( ViewContext  viewContext)

Definition at line 331 of file MarbleMap.cpp.

void Marble::MarbleMap::setVolatileTileCacheLimit ( quint64  kiloBytes)
slot

Set the limit of the volatile (in RAM) tile cache.

Parameters
bytesThe limit in kilobytes.

Definition at line 1221 of file MarbleMap.cpp.

bool Marble::MarbleMap::showAtmosphere ( ) const

Return whether the atmospheric glow is visible.

Returns
The cloud cover visibility.

Definition at line 568 of file MarbleMap.cpp.

bool Marble::MarbleMap::showBackground ( ) const

Definition at line 639 of file MarbleMap.cpp.

bool Marble::MarbleMap::showBorders ( ) const

Return whether the borders are visible.

Returns
The border visibility.

Definition at line 619 of file MarbleMap.cpp.

bool Marble::MarbleMap::showCities ( ) const

Return whether the city place marks are visible.

Returns
The city place mark visibility.

Definition at line 594 of file MarbleMap.cpp.

bool Marble::MarbleMap::showCityLights ( ) const

Return whether the city lights are shown instead of the night shadow.

Returns
visibility of city lights

Definition at line 553 of file MarbleMap.cpp.

bool Marble::MarbleMap::showClouds ( ) const

Return whether the cloud cover is visible.

Returns
The cloud cover visibility.

Definition at line 543 of file MarbleMap.cpp.

bool Marble::MarbleMap::showCompass ( ) const

Return whether the compass bar is visible.

Returns
The compass visibility.

Definition at line 533 of file MarbleMap.cpp.

bool Marble::MarbleMap::showCrosshairs ( ) const

Return whether the crosshairs are visible.

Returns
The crosshairs' visibility.

Definition at line 573 of file MarbleMap.cpp.

bool Marble::MarbleMap::showFrameRate ( ) const

Return whether the frame rate gets displayed.

Returns
the frame rates visibility

Definition at line 634 of file MarbleMap.cpp.

bool Marble::MarbleMap::showGrid ( ) const

Return whether the coordinate grid is visible.

Returns
The coordinate grid visibility.

Definition at line 538 of file MarbleMap.cpp.

bool Marble::MarbleMap::showIceLayer ( ) const

Return whether the ice layer is visible.

Returns
The ice layer visibility.

Definition at line 614 of file MarbleMap.cpp.

bool Marble::MarbleMap::showLakes ( ) const

Return whether the lakes are visible.

Returns
The lakes' visibility.

Definition at line 629 of file MarbleMap.cpp.

bool Marble::MarbleMap::showOtherPlaces ( ) const

Return whether other places are visible.

Returns
The visibility of other places.

Definition at line 604 of file MarbleMap.cpp.

bool Marble::MarbleMap::showOverviewMap ( ) const

Return whether the overview map is visible.

Returns
The overview map visibility.

Definition at line 523 of file MarbleMap.cpp.

bool Marble::MarbleMap::showPlaces ( ) const

Return whether the place marks are visible.

Returns
The place mark visibility.

Definition at line 589 of file MarbleMap.cpp.

bool Marble::MarbleMap::showRelief ( ) const

Return whether the relief is visible.

Returns
The relief visibility.

Definition at line 609 of file MarbleMap.cpp.

bool Marble::MarbleMap::showRivers ( ) const

Return whether the rivers are visible.

Returns
The rivers' visibility.

Definition at line 624 of file MarbleMap.cpp.

bool Marble::MarbleMap::showScaleBar ( ) const

Return whether the scale bar is visible.

Returns
The scale bar visibility.

Definition at line 528 of file MarbleMap.cpp.

bool Marble::MarbleMap::showSunShading ( ) const

Return whether the night shadow is visible.

Returns
visibility of night shadow

Definition at line 548 of file MarbleMap.cpp.

bool Marble::MarbleMap::showTerrain ( ) const

Return whether the terrain place marks are visible.

Returns
The terrain place mark visibility.

Definition at line 599 of file MarbleMap.cpp.

QSize Marble::MarbleMap::size ( ) const

Definition at line 363 of file MarbleMap.cpp.

const TextureLayer * Marble::MarbleMap::textureLayer ( ) const

Definition at line 1304 of file MarbleMap.cpp.

void Marble::MarbleMap::themeChanged ( const QString &  theme)
signal

Signal that the theme has changed.

Parameters
themeName of the new theme.
void Marble::MarbleMap::tileLevelChanged ( int  level)
signal
int Marble::MarbleMap::tileZoomLevel ( ) const

Definition at line 414 of file MarbleMap.cpp.

ViewContext Marble::MarbleMap::viewContext ( ) const

Definition at line 345 of file MarbleMap.cpp.

ViewportParams * Marble::MarbleMap::viewport ( )

Definition at line 302 of file MarbleMap.cpp.

const ViewportParams * Marble::MarbleMap::viewport ( ) const

Definition at line 307 of file MarbleMap.cpp.

void Marble::MarbleMap::visibleLatLonAltBoxChanged ( const GeoDataLatLonAltBox &  visibleLatLonAltBox)
signal

This signal is emitted when the visible region of the map changes.

This typically happens when the user moves the map around or zooms.

quint64 Marble::MarbleMap::volatileTileCacheLimit ( ) const

Returns the limit in kilobytes of the volatile (in RAM) tile cache.

Returns
the limit of volatile tile cache in kilobytes.

Definition at line 644 of file MarbleMap.cpp.

QVector< const GeoDataPlacemark * > Marble::MarbleMap::whichFeatureAt ( const QPoint &  curpos) const

Definition at line 452 of file MarbleMap.cpp.

QList< AbstractDataPluginItem * > Marble::MarbleMap::whichItemAt ( const QPoint &  curpos) const

Returns all widgets of dataPlugins on the position curpos.

Definition at line 1288 of file MarbleMap.cpp.

int Marble::MarbleMap::width ( ) const

Definition at line 368 of file MarbleMap.cpp.


The documentation for this class was generated from the following files:
  • MarbleMap.h
  • MarbleMap.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal