Marble
AbstractDataPlugin.cpp
void setModel(AbstractDataPluginModel *model)
Set the model of the plugin.
Definition: AbstractDataPlugin.cpp:105
AbstractDataPluginModel * model()
Definition: AbstractDataPlugin.cpp:95
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void setNumberOfItems(quint32 number)
Set the number of items to be shown at the same time.
Definition: AbstractDataPlugin.cpp:127
QStringList renderPosition() const override
Preferred level in the layer stack for the rendering.
Definition: AbstractDataPlugin.cpp:71
RenderType renderType() const override
Function for returning the type of plugin this is for.
Definition: AbstractDataPlugin.cpp:146
void setFavoriteItemsOnly(bool favoriteOnly)
Convenience method to set the favorite item state on the current model.
Definition: AbstractDataPlugin.cpp:151
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int size() const const
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:41
const T & at(int i) const const
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:88
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos)
This function returns all items at the position curpos.
Definition: AbstractDataPlugin.cpp:136
QString renderPolicy() const override
Return how the plugin settings should be used.
Definition: AbstractDataPlugin.cpp:66
QStringList backendTypes() const override
Returns the name(s) of the backend that the plugin can render.
Definition: AbstractDataPlugin.cpp:61
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos=QLatin1String("NONE"), GeoSceneLayer *layer=nullptr) override
Renders the content provided by the plugin on the viewport.
Definition: AbstractDataPlugin.cpp:76
void restore()
void save()
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:86
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:12:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:12:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.