Marble
AbstractDataPlugin.cpp
77bool AbstractDataPlugin::render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer)
114 connect(d->m_model, SIGNAL(favoriteItemsChanged(QStringList)), this, SLOT(favoriteItemsChanged(QStringList)));
115 connect(d->m_model, SIGNAL(favoriteItemsOnlyChanged()), this, SIGNAL(favoriteItemsOnlyChanged()));
This file contains the headers for MarbleModel.
This file contains the headers for ViewportParams.
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition AbstractDataPluginModel.h:40
QObject * favoritesModel
Definition AbstractDataPluginModel.h:44
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos)
Get all items that contain the given point Returns a list of all items that contain the point curpos.
Definition AbstractDataPluginModel.cpp:343
QList< AbstractDataPluginItem * > items(const ViewportParams *viewport, qint32 number=10)
Get the items on the viewport Returns the currently downloaded images in the viewport.
Definition AbstractDataPluginModel.cpp:268
QList< AbstractDataPluginItem * > whichItemAt(const QPoint &curpos)
This function returns all items at the position curpos.
Definition AbstractDataPlugin.cpp:134
QObject * favoritesModel
Definition AbstractDataPlugin.h:39
void setFavoriteItemsOnly(bool favoriteOnly)
Convenience method to set the favorite item state on the current model.
Definition AbstractDataPlugin.cpp:148
QStringList backendTypes() const override
Returns the name(s) of the backend that the plugin can render.
Definition AbstractDataPlugin.cpp:62
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:77
AbstractDataPluginModel * model()
Definition AbstractDataPlugin.cpp:95
void setNumberOfItems(quint32 number)
Set the number of items to be shown at the same time.
Definition AbstractDataPlugin.cpp:125
RenderType renderType() const override
Function for returning the type of plugin this is for.
Definition AbstractDataPlugin.cpp:143
QStringList renderPosition() const override
Preferred level in the layer stack for the rendering.
Definition AbstractDataPlugin.cpp:72
QString renderPolicy() const override
Return how the plugin settings should be used.
Definition AbstractDataPlugin.cpp:67
void setModel(AbstractDataPluginModel *model)
Set the model of the plugin.
Definition AbstractDataPlugin.cpp:105
A painter that allows to draw geometric primitives on the map.
Definition GeoPainter.h:86
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition MarbleModel.h:84
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
const_reference at(qsizetype i) const const
qsizetype size() const const
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
void restore()
void save()
bool isActive() const const
void setSingleShot(bool singleShot)
void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.