marble
DeclarativeDataPlugin.h
Go to the documentation of this file.
35 Q_PROPERTY( QString copyrightYears READ copyrightYears WRITE setCopyrightYears NOTIFY copyrightYearsChanged )
36 Q_PROPERTY( QString description READ description WRITE setDescription NOTIFY descriptionChanged )
38 Q_PROPERTY( QString aboutDataText READ aboutDataText WRITE setAboutDataText NOTIFY aboutDataTextChanged )
39 Q_PROPERTY( QVariant model READ declarativeModel WRITE setDeclarativeModel NOTIFY declarativeModelChanged )
41 Q_PROPERTY( QDeclarativeComponent* delegate READ delegate WRITE setDelegate NOTIFY delegateChanged )
void authorsChanged()
void setDelegate(QDeclarativeComponent *delegate)
Definition: DeclarativeDataPlugin.cpp:340
QString planet() const
void setAboutDataText(const QString &aboutDataText)
Definition: DeclarativeDataPlugin.cpp:327
The class that specifies the Marble layer interface of a plugin.
Definition: RenderPluginInterface.h:30
QVariant declarativeModel()
Definition: DeclarativeDataPlugin.cpp:387
virtual bool isInitialized() const
Definition: DeclarativeDataPlugin.cpp:356
Marble::RenderState renderState() const
Definition: DeclarativeDataPlugin.cpp:361
virtual QString guiString() const
String that should be displayed in GUI.
void declarativeModelChanged()
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
Marble::RenderPlugin * newInstance(const Marble::MarbleModel *marbleModel) const
Creation a new instance of the plugin.
Definition: DeclarativeDataPlugin.cpp:159
void nameChanged()
void descriptionChanged()
void dataRequest(qreal north, qreal south, qreal east, qreal west)
Additional data for the currently visible map region is requested.
virtual QString aboutDataText() const
Returns about text (credits) for external data the plugin uses.
void setPlanet(const QString &planet)
Definition: DeclarativeDataPlugin.cpp:204
void setCopyrightYears(const QString ©rightYears)
Definition: DeclarativeDataPlugin.cpp:298
virtual ~DeclarativeDataPlugin()
Definition: DeclarativeDataPlugin.cpp:194
virtual QList< Marble::PluginAuthor > pluginAuthors() const
void guiStringChanged()
void nameIdChanged()
void setVersion(const QString &version)
Definition: DeclarativeDataPlugin.cpp:290
Definition: DeclarativeDataPlugin.h:25
Definition: RenderState.h:22
void setAuthors(const QStringList &pluginAuthors)
Definition: DeclarativeDataPlugin.cpp:314
virtual QIcon icon() const
Returns an icon for the plugin.
Definition: DeclarativeDataPlugin.cpp:261
virtual QString description() const
Returns a user description of the plugin.
void copyrightYearsChanged()
void delegateChanged()
void planetChanged()
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
void setName(const QString &name)
Definition: DeclarativeDataPlugin.cpp:266
DeclarativeDataPlugin(const Marble::MarbleModel *marbleModel=0)
Definition: DeclarativeDataPlugin.cpp:187
void versionChanged()
void aboutDataTextChanged()
void setNameId(const QString &nameId)
Definition: DeclarativeDataPlugin.cpp:282
void setGuiString(const QString &guiString)
Definition: DeclarativeDataPlugin.cpp:274
void setDeclarativeModel(const QVariant &model)
Definition: DeclarativeDataPlugin.cpp:366
QDeclarativeComponent * delegate()
virtual QString version() const
AbstractDataPluginModel * model()
Definition: AbstractDataPlugin.cpp:124
void setDescription(const QString description)
Definition: DeclarativeDataPlugin.cpp:306
virtual QString copyrightYears() const
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
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.