QGIS API Documentation  3.20.0-Odense (decaadbb31)
qgslocatorcontext.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgslocatorcontext.h
3  ------------------
4  begin : May 2017
5  copyright : (C) 2017 by Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSLOCATORCONTEXT_H
19 #define QGSLOCATORCONTEXT_H
20 
21 #include "qgis_core.h"
22 #include "qgsrectangle.h"
25 
32 class CORE_EXPORT QgsLocatorContext
33 {
34  public:
35 
39  QgsLocatorContext() = default;
40 
48 
54 
62 
66  bool usingPrefix = false;
67 
68 };
69 
70 #endif // QGSLOCATORCONTEXT_H
71 
72 
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.
QgsCoordinateTransformContext transformContext
Coordinate transform context, to use whenever performing coordinate transformations inside a locator.
QgsLocatorContext()=default
Constructor for QgsLocatorContext.
QgsCoordinateReferenceSystem targetExtentCrs
Coordinate reference system for the map extent variable.
QgsRectangle targetExtent
Map extent to target in results.
A rectangle specified with double values.
Definition: qgsrectangle.h:42