marble
#include <OpenDesktopPlugin.h>
Public Member Functions | |
OpenDesktopPlugin () | |
OpenDesktopPlugin (const MarbleModel *marbleModel) | |
QDialog * | configDialog () |
QString | copyrightYears () const |
QString | description () const |
QString | guiString () const |
QIcon | icon () const |
virtual void | initialize () |
QString | name () const |
QString | nameId () const |
QList< PluginAuthor > | pluginAuthors () const |
void | setSettings (const QHash< QString, QVariant > &settings) |
QHash< QString, QVariant > | settings () const |
QString | version () const |
Public Member Functions inherited from Marble::AbstractDataPlugin | |
AbstractDataPlugin (const MarbleModel *marbleModel) | |
virtual | ~AbstractDataPlugin () |
QStringList | backendTypes () const |
QObject * | favoritesModel () |
bool | isFavoriteItemsOnly () const |
bool | isInitialized () const |
AbstractDataPluginModel * | model () const |
quint32 | numberOfItems () const |
bool | render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0) |
QString | renderPolicy () const |
QStringList | renderPosition () const |
virtual RenderType | renderType () const |
void | setDelegate (QDeclarativeComponent *delegate, QGraphicsItem *parent) |
void | setFavoriteItemsOnly (bool favoriteOnly) |
void | setModel (AbstractDataPluginModel *model) |
void | setNumberOfItems (quint32 number) |
QList< AbstractDataPluginItem * > | whichItemAt (const QPoint &curpos) |
Public Member Functions inherited from Marble::RenderPlugin | |
RenderPlugin (const MarbleModel *marbleModel) | |
virtual | ~RenderPlugin () |
virtual const QList < QActionGroup * > * | actionGroups () const |
bool | enabled () const |
bool | isUserCheckable () const |
const MarbleModel * | marbleModel () const |
virtual RenderPlugin * | newInstance (const MarbleModel *marbleModel) const =0 |
virtual QString | runtimeTrace () const |
virtual const QList < QActionGroup * > * | toolbarActionGroups () const |
bool | visible () const |
Public Member Functions inherited from Marble::RenderPluginInterface | |
virtual | ~RenderPluginInterface () |
Public Member Functions inherited from Marble::PluginInterface | |
virtual | ~PluginInterface () |
virtual QString | aboutDataText () const |
Public Member Functions inherited from Marble::LayerInterface | |
virtual | ~LayerInterface () |
virtual qreal | zValue () const |
Public Member Functions inherited from Marble::DialogConfigurationInterface | |
virtual | ~DialogConfigurationInterface () |
Protected Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) |
Protected Member Functions inherited from Marble::RenderPlugin | |
bool | eventFilter (QObject *, QEvent *) |
Detailed Description
Definition at line 25 of file OpenDesktopPlugin.h.
Constructor & Destructor Documentation
OpenDesktopPlugin::OpenDesktopPlugin | ( | ) |
Definition at line 22 of file OpenDesktopPlugin.cpp.
|
explicit |
Definition at line 29 of file OpenDesktopPlugin.cpp.
Member Function Documentation
|
virtual |
Returns a pointer to the configuration dialog of the plugin.
- Returns
- : Pointer to the configuration dialog, which must be non-zero.
Implements Marble::DialogConfigurationInterface.
Definition at line 85 of file OpenDesktopPlugin.cpp.
|
virtual |
Implements Marble::PluginInterface.
Definition at line 69 of file OpenDesktopPlugin.cpp.
|
virtual |
Returns a user description of the plugin.
Implements Marble::PluginInterface.
Definition at line 64 of file OpenDesktopPlugin.cpp.
|
protected |
Definition at line 115 of file OpenDesktopPlugin.cpp.
|
virtual |
String that should be displayed in GUI.
Using a "&" you can suggest key shortcuts
Example: "&Stars"
- Returns
- string for gui usage
Implements Marble::RenderPlugin.
Definition at line 49 of file OpenDesktopPlugin.cpp.
|
virtual |
Returns an icon for the plugin.
Implements Marble::PluginInterface.
Definition at line 80 of file OpenDesktopPlugin.cpp.
|
virtual |
Implements Marble::RenderPluginInterface.
Definition at line 38 of file OpenDesktopPlugin.cpp.
|
virtual |
Returns the user-visible name of the plugin.
The user-visible name should be context free, i.e. the name should provide enough information as to what the plugin is about in the context of Marble.
Example: "Starry Sky Background", "OpenRouteService Routing"
Implements Marble::PluginInterface.
Definition at line 44 of file OpenDesktopPlugin.cpp.
|
virtual |
Returns the unique name of the plugin.
Examples: "starrysky", "openrouteservice"
Implements Marble::PluginInterface.
Definition at line 54 of file OpenDesktopPlugin.cpp.
|
virtual |
Implements Marble::PluginInterface.
Definition at line 74 of file OpenDesktopPlugin.cpp.
|
virtual |
Set the settings of the plugin.
Usually this is called at startup to restore saved settings.
- Parameters
-
new plugin's settings
- See also
- settings
Reimplemented from Marble::RenderPlugin.
Definition at line 129 of file OpenDesktopPlugin.cpp.
|
virtual |
Settings of the plugin.
Settings is the map (hash table) of plugin's settings This method is called to determine the current settings of the plugin for serialization, e.g. when closing the application.
- Returns
- plugin's settings
- See also
- setSettings
Reimplemented from Marble::RenderPlugin.
Definition at line 106 of file OpenDesktopPlugin.cpp.
|
virtual |
Implements Marble::PluginInterface.
Definition at line 59 of file OpenDesktopPlugin.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.