marble
#include <TrackerPluginItem.h>
Public Member Functions | |
TrackerPluginItem (const QString &name) | |
virtual | ~TrackerPluginItem () |
virtual bool | isEnabled () const |
virtual bool | isTrackVisible () const |
virtual bool | isVisible () const |
QString | name () const |
GeoDataPlacemark * | placemark () |
virtual void | setEnabled (bool enabled) |
virtual void | setTrackVisible (bool visible) |
virtual void | setVisible (bool visible) |
virtual void | update ()=0 |
Detailed Description
Subclass this to represent items in your TrackerPluginModel.
Definition at line 29 of file TrackerPluginItem.h.
Constructor & Destructor Documentation
|
explicit |
Constructs an item and set the wrapped placemark name to name
.
Definition at line 34 of file TrackerPluginItem.cpp.
|
virtual |
Destroy the item.
Definition at line 39 of file TrackerPluginItem.cpp.
Member Function Documentation
|
virtual |
Returns whether the item is enabled or disabled.
Definition at line 54 of file TrackerPluginItem.cpp.
|
virtual |
Return whether the track is visible or invisible.
Definition at line 74 of file TrackerPluginItem.cpp.
|
virtual |
Return whether the item is visible or invisible.
Definition at line 64 of file TrackerPluginItem.cpp.
QString Marble::TrackerPluginItem::name | ( | ) | const |
Satellite's name.
Definition at line 44 of file TrackerPluginItem.cpp.
GeoDataPlacemark * Marble::TrackerPluginItem::placemark | ( | ) |
Returns the wrapped placemark which will be displayed if this item is in a TrackerPluginModel.
Definition at line 49 of file TrackerPluginItem.cpp.
|
virtual |
Enable/Disable the item following the user checkbox action according to enabled
.
Definition at line 59 of file TrackerPluginItem.cpp.
|
virtual |
Set item track visible/invisible according to visible
.
Definition at line 79 of file TrackerPluginItem.cpp.
|
virtual |
Set item visible/invisible according to visible
.
Definition at line 69 of file TrackerPluginItem.cpp.
|
pure virtual |
Reimplement this method to update the placemark, for example to change its coordinates.
If this item is in a TrackerPluginModel, this method will be called regularly.
Implemented in Marble::SatellitesMSCItem, and Marble::SatellitesTLEItem.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.