marble
EclipsesPlugin.cpp
Go to the documentation of this file.
const GeoDataLineString & northernPenumbra()
Return the eclipse's northern penumbra.
Definition: EclipsesItem.cpp:171
iterator insert(const Key &key, const T &value)
QString copyrightYears() const
Definition: EclipsesPlugin.cpp:122
void drawPolygon(const GeoDataLinearRing &linearRing, Qt::FillRule fillRule=Qt::OddEvenFill)
Draws a given linear ring (a "polygon without holes").
Definition: GeoPainter.cpp:560
GeoDataLinearRing shadowConePenumbra()
Return the shadow cone of the penumbra.
Definition: EclipsesItem.cpp:189
void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: EclipsesPlugin.cpp:358
GeoDataLinearRing shadowCone60MagPenumbra()
Return the shadow cone of the penumbra at 60 percent magnitude.
Definition: EclipsesItem.cpp:198
const GeoDataCoordinates & maxLocation()
Return the coordinates of the eclipse's maximum.
Definition: EclipsesItem.cpp:135
EclipsesItem::EclipsePhase phase() const
Returns the phase of this eclipse event.
Definition: EclipsesItem.cpp:54
void setDateTime(const QDateTime &datetime)
Sets the internal date and time a custom one.
Definition: MarbleClock.cpp:94
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
bool eventFilter(QObject *, QEvent *)
Definition: RenderPlugin.cpp:216
QString renderPolicy() const
Return how the plugin settings should be used.
Definition: EclipsesPlugin.cpp:87
This file contains the headers for MarbleModel.
EclipsesItem * eclipseWithIndex(int index)
Get eclipse item of a given year.
Definition: EclipsesModel.cpp:89
QVariant data() const
const QList< GeoDataLinearRing > & sunBoundaries()
Return the eclipse's sun boundaries.
Definition: EclipsesItem.cpp:207
void setIcon(const QIcon &icon)
Definition: PluginInterface.h:28
QString description() const
Returns a user description of the plugin.
Definition: EclipsesPlugin.cpp:117
QList< QActionGroup * > * actionGroups() const
Getting all actions.
Definition: EclipsesPlugin.cpp:145
void drawPolyline(const GeoDataLineString &lineString, const QString &labelText=QString(), LabelPositionFlags labelPositionFlags=LineCenter)
Draws a given line string (a "polyline").
Definition: GeoPainter.cpp:474
QAction * addAction(QAction *action)
bool eventFilter(QObject *object, QEvent *e)
Definition: EclipsesPlugin.cpp:223
void drawEllipse(const GeoDataCoordinates ¢erPosition, qreal width, qreal height, bool isGeoProjected=false)
Draws an ellipse at the given position. The ellipse is placed with its center located at the given ce...
Definition: GeoPainter.cpp:289
QStringList renderPosition() const
Preferred level in the layer stack for the rendering.
Definition: EclipsesPlugin.cpp:92
QString tr(const char *sourceText, const char *disambiguation, int n)
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: EclipsesPlugin.cpp:82
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
void actionGroupsChanged()
This signal is emitted if the actions that the plugin supports change in any way. ...
QList< EclipsesItem * > items() const
Return the items in this model.
Definition: EclipsesModel.cpp:100
void setEnabled(bool)
void append(const T &value)
int toInt(bool *ok) const
QDialog * configDialog()
Returns a pointer to the configuration dialog of the plugin.
Definition: EclipsesPlugin.cpp:150
void setWithLunarEclipses(const bool enable)
Set if lunar eclipses are enbled.
Definition: EclipsesModel.cpp:75
void setPen(const QColor &color)
void settingsChanged(QString nameId)
This signal is emitted if the settings of the RenderPlugin changed.
void setBrush(const QBrush &brush)
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer)
Renders the content provided by the layer on the viewport.
Definition: EclipsesPlugin.cpp:236
RenderPlugin::RenderType renderType() const
Render type of the plugin.
Definition: EclipsesPlugin.cpp:139
int year() const
QList< PluginAuthor > pluginAuthors() const
Definition: EclipsesPlugin.cpp:127
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
void setData(const QVariant &userData)
QString guiString() const
String that should be displayed in GUI.
Definition: EclipsesPlugin.cpp:107
const T value(const Key &key) const
void centerOn(const qreal lon, const qreal lat, bool animated=false)
Center the view on a geographical point.
Definition: MarbleWidget.cpp:549
This file contains the headers for ViewportParams.
bool withLunarEclipses() const
Return whether or not lunar eclipses are enabled.
Definition: EclipsesModel.cpp:84
bool takesPlaceAt(const QDateTime &dateTime) const
Check if the event takes place at a given datetime.
Definition: EclipsesItem.cpp:48
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
GeoDataLinearRing shadowConeUmbra()
Return the shadow cone of the umbra.
Definition: EclipsesItem.cpp:180
QDate date() const
void removeAction(QAction *action)
This file contains the headers for MarbleWidget.
bool isValid() const
void setWithLunarEclipses(const bool enable)
Set whether or not to list lunar eclipses.
Definition: EclipsesBrowserDialog.cpp:47
const_iterator constEnd() const
const_iterator constBegin() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QList< QAction * > actions() const
virtual QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: RenderPlugin.cpp:185
const GeoDataLineString & southernPenumbra()
Return the eclipse's southern penumbra.
Definition: EclipsesItem.cpp:162
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: RenderPlugin.cpp:195
void setEnabled(bool)
QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: EclipsesPlugin.cpp:353
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.