marble
LayerManager.cpp
Go to the documentation of this file.
void setBackgroundMode(Qt::BGMode mode)
LayerManager(const MarbleModel *model, QObject *parent=0)
Definition: LayerManager.cpp:86
void setBackground(const QBrush &brush)
void push_back(const T &value)
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
This file contains the headers for MarbleModel.
QList< LayerInterface * > internalLayers() const
Definition: LayerManager.cpp:262
bool contains(const QString &str, Qt::CaseSensitivity cs) const
void save()
QList< RenderPlugin * > renderPlugins() const
Returns a list of all RenderPlugins on the layer, this includes float items.
Definition: LayerManager.cpp:104
Definition: LayerInterface.h:26
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
const PluginManager * pluginManager() const
Definition: MarbleModel.cpp:634
bool zValueLessThan(GeoGraphicsItem *i1, GeoGraphicsItem *i2)
Definition: GeoGraphicsScene.cpp:28
virtual QString runtimeTrace() const
Returns a debug line for perfo/tracing issues.
Definition: LayerInterface.cpp:32
virtual QStringList renderPosition() const =0
Preferred level in the layer stack for the rendering.
virtual RenderPlugin * newInstance(const MarbleModel *marbleModel) const =0
Creation a new instance of the plugin.
virtual bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer)=0
Renders the content provided by the layer on the viewport.
virtual void initialize()=0
void addLayer(LayerInterface *layer)
Add a layer to be included in rendering.
Definition: LayerManager.cpp:252
void setFont(const QFont &font)
int elapsed() const
void append(const T &value)
void setPen(const QColor &color)
QList< AbstractFloatItem * > floatItems() const
Returns a list of all FloatItems on the layer.
Definition: LayerManager.cpp:109
void renderPluginInitialized(RenderPlugin *renderPlugin)
Signal that a render item has been initialized.
Definition: RenderState.h:22
void setShowBackground(bool show)
Definition: LayerManager.cpp:242
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos)
This function returns all items at the position curpos.
Definition: AbstractDataPlugin.cpp:165
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
iterator end()
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos) const
Returns all items of dataPlugins on the position curpos.
Definition: LayerManager.cpp:119
virtual qreal zValue() const
Returns the z value of the layer (default: 0.0).
Definition: LayerInterface.cpp:22
void restore()
QTime currentTime()
void drawText(const GeoDataCoordinates &position, const QString &text)
Draws the given text at a given geographic position. The text is drawn starting at the given position...
Definition: GeoPainter.cpp:264
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
void setShowRuntimeTrace(bool show)
Definition: LayerManager.cpp:247
virtual bool isInitialized() const =0
void start()
QList< AbstractDataPlugin * > dataPlugins() const
Returns a list of all DataPlugins on the layer.
Definition: LayerManager.cpp:114
void removeLayer(LayerInterface *layer)
Remove a layer from being included in rendering.
Definition: LayerManager.cpp:257
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
virtual RenderState renderState() const
Definition: LayerInterface.cpp:27
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
iterator begin()
void renderLayers(GeoPainter *painter, ViewportParams *viewport)
Definition: LayerManager.cpp:129
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.