marble
AtmospherePlugin.cpp
Go to the documentation of this file.
149 if(viewParams->radius() != m_renderRadius || marbleModel()->planet()->atmosphereColor() != m_renderColor) {
void setRenderHint(RenderHint hint, bool on)
void fill(const QColor &color)
QList< PluginAuthor > pluginAuthors() const
Definition: AtmospherePlugin.cpp:96
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
void setColorAt(qreal position, const QColor &color)
This file contains the headers for MarbleModel.
QString name() const
Returns the user-visible name of the plugin.
Definition: AtmospherePlugin.cpp:61
qreal zValue() const
Returns the z value of the layer (default: 0.0).
Definition: AtmospherePlugin.cpp:107
Definition: PluginInterface.h:28
const Planet * planet() const
Returns the planet object for the current map.
Definition: MarbleModel.cpp:644
QString tr(const char *sourceText, const char *disambiguation, int n)
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer=0)
Renders the content provided by the layer on the viewport.
Definition: AtmospherePlugin.cpp:129
QStringList renderPosition() const
Preferred level in the layer stack for the rendering.
Definition: AtmospherePlugin.cpp:51
Definition: AtmospherePlugin.h:20
int red() const
void setPen(const QColor &color)
void drawEllipse(const QRectF &rectangle)
bool mapCoversViewport() const
Definition: ViewportParams.cpp:398
QString renderPolicy() const
Return how the plugin settings should be used.
Definition: AtmospherePlugin.cpp:46
void setBrush(const QBrush &brush)
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: AtmospherePlugin.cpp:41
bool isInitialized() const
Definition: AtmospherePlugin.cpp:117
QString guiString() const
String that should be displayed in GUI.
Definition: AtmospherePlugin.cpp:66
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
QString copyrightYears() const
Definition: AtmospherePlugin.cpp:91
int green() const
This file contains the headers for ViewportParams.
int blue() const
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
virtual RenderType renderType() const
Render type of the plugin.
Definition: AtmospherePlugin.cpp:56
void repaintPixmap(const ViewportParams *viewParams)
Definition: AtmospherePlugin.cpp:162
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void drawPixmap(const GeoDataCoordinates ¢erPosition, const QPixmap &pixmap)
Draws a pixmap at the given position. The pixmap is placed with its center located at the given cente...
Definition: GeoPainter.cpp:452
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
QString description() const
Returns a user description of the plugin.
Definition: AtmospherePlugin.cpp:81
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 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:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.