marble
EarthquakeItem.cpp
Go to the documentation of this file.
102 painter->drawText( QPoint( (arcRect.width() - magnitudeRect.width()) / 2, (arcRect.height() - magnitudeRect.height()) / 2 + metrics.ascent() ), magnitudeText );
137 html += "<tr><td align=\"right\">Magnitude</td><td>" + QString::number( m_magnitude ) + "</td></tr>";
138 html += "<tr><td align=\"right\">Depth</td><td>" + QString::number( m_depth ) + " km</td></tr>";
void setDateTime(const QDateTime &dateTime)
Definition: EarthquakeItem.cpp:108
EarthquakeItem(QObject *parent)
Definition: EarthquakeItem.cpp:25
This file contains the headers for ViewportParams.
void setCacheMode(CacheMode mode)
Set the cache mode of the item.
Definition: MarbleGraphicsItem.cpp:159
Definition: EarthquakeItem.h:23
void setToolTip(const QString &toolTip)
Set the tool tip for the item.
Definition: AbstractDataPluginItem.cpp:76
bool operator<(const AbstractDataPluginItem *other) const
Definition: EarthquakeItem.cpp:49
void setMagnitude(double magnitude)
Definition: EarthquakeItem.cpp:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.