16 #ifndef QGSABSTRACTGEOCODERLOCATORFILTER_H
17 #define QGSABSTRACTGEOCODERLOCATORFILTER_H
19 #include "qgis_core.h"
65 const QString &prefix,
69 QString
name()
const override;
71 QString
prefix()
const override;
107 QString mDisplayName;
An abstract base class which implements a locator filter populated from a QgsGeocoderInterface.
const QgsRectangle boundingBox()
Returns the WGS84 bounding box attached to the filter.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Represents a matching result from a geocoder search.
Encapsulates the properties relating to the context of a locator search.
Abstract base class for filters which collect locator results.
virtual QString prefix() const
Returns the search prefix character(s) for this filter.
virtual QString displayName() const =0
Returns a translated, user-friendly name for the filter.
virtual QString name() const =0
Returns the unique name for the filter.
virtual void triggerResult(const QgsLocatorResult &result)=0
Triggers a filter result from this filter.
virtual void fetchResults(const QString &string, const QgsLocatorContext &context, QgsFeedback *feedback)=0
Retrieves the filter results for a specified search string.
Encapsulates properties of an individual matching result found by a QgsLocatorFilter.
A rectangle specified with double values.