16#ifndef QGSCALLOUTSREGISTRY_H
17#define QGSCALLOUTSREGISTRY_H
209 QMap<QString, QgsCalloutAbstractMetadata *> mMetadata;
QgsCalloutAbstractMetadata * calloutMetadata(const QString &type) const
Returns the metadata for specified the specified callout type.
static QgsCallout * defaultCallout()
Create a new instance of a callout with default settings.
bool addCalloutType(QgsCalloutAbstractMetadata *metadata)
Registers a new callout type.
QStringList calloutTypes() const
Returns a list of all available callout types.
QgsCalloutRegistry & operator=(const QgsCalloutRegistry &rh)=delete
QgsCallout * createCallout(const QString &type, const QVariantMap &properties=QVariantMap(), const QgsReadWriteContext &context=QgsReadWriteContext()) const
Creates a new instance of a callout, given the callout type and properties.
QgsCalloutRegistry(const QgsCalloutRegistry &rh)=delete
Abstract base class for callout renderers.
Base class for all map layer types.
Resolves relative paths into absolute paths and vice versa.
A container for the context for various read/write operations on objects.
QgsCalloutWidget *(* QgsCalloutWidgetFunc)(QgsMapLayer *)
QgsCallout *(* QgsCalloutCreateFunc)(const QVariantMap &, const QgsReadWriteContext &)