18#ifndef QGSLOCATORMODELBRIDGE_H 
   19#define QGSLOCATORMODELBRIDGE_H 
   44    Q_PROPERTY( 
bool isRunning READ isRunning NOTIFY isRunningChanged )
 
   51    Q_INVOKABLE 
void performSearch( 
const QString &text );
 
   60    bool hasQueueRequested() 
const;
 
   63    bool isRunning() 
const;
 
   66    void triggerResult( 
const QModelIndex &index,  
const int actionId = -1 );
 
   98    void invalidateResults();
 
  107    void searchFinished();
 
  112    void setIsRunning( 
bool isRunning );
 
  118    QString mNextRequestedString;
 
  119    bool mHasQueuedRequest = 
false;
 
  120    bool mIsRunning = 
false;
 
This class represents a coordinate reference system (CRS).
 
Contains information about the context in which a coordinate transform is executed.
 
Encapsulates the properties relating to the context of a locator search.
 
The QgsLocatorModelBridge class provides the core functionality to be used in a locator widget.
 
void isRunningChanged()
Emitted when the running status changes.
 
void resultAdded()
Emitted when a result is added.
 
void setTransformContext(const QgsCoordinateTransformContext &context)
Sets the coordinate transform context, which should be used whenever the locator constructs a coordin...
 
QgsCoordinateTransformContext transformContext() const
Returns the coordinate transform context, which should be used whenever the locator constructs a coor...
 
void resultsCleared()
Emitted when the results are cleared.
 
virtual ~QgsLocatorModelBridge()=default
 
An abstract list model for displaying the results of locator searches.
 
A sort proxy model for QgsLocatorModel, which automatically sorts results by precedence.
 
Encapsulates properties of an individual matching result found by a QgsLocatorFilter.
 
Handles the management of QgsLocatorFilter objects and async collection of search results from them.
 
A rectangle specified with double values.
 
const QgsCoordinateReferenceSystem & crs