mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/locator/qgslocatorcontext.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsLocatorContext
|
|
{
|
|
%Docstring
|
|
Encapsulates the properties relating to the context of a locator search.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgslocatorcontext.h"
|
|
%End
|
|
public:
|
|
|
|
QgsLocatorContext();
|
|
%Docstring
|
|
Constructor for QgsLocatorContext.
|
|
%End
|
|
|
|
QgsRectangle targetExtent;
|
|
%Docstring
|
|
Map extent to target in results. This can be used to prioritize searching
|
|
for results close to the current map extent. The CRS for the extent
|
|
is specified by targetExtentCrs.
|
|
|
|
.. seealso:: :py:func:`targetExtentCrs`
|
|
%End
|
|
|
|
QgsCoordinateReferenceSystem targetExtentCrs;
|
|
%Docstring
|
|
Coordinate reference system for the map extent variable.
|
|
|
|
.. seealso:: :py:func:`targetExtent`
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/locator/qgslocatorcontext.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|