QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
qgsgeocoderlocatorfilter.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgeocoderlocatorfilter.h
3
---------------
4
Date : August 2020
5
Copyright : (C) 2020 by Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSGEOCODERLOCATORFILTER_H
17
#define QGSGEOCODERLOCATORFILTER_H
18
19
#include "qgis_gui.h"
20
#include "
qgsabstractgeocoderlocatorfilter.h
"
21
22
class
QgsMapCanvas
;
23
34
class
GUI_EXPORT
QgsGeocoderLocatorFilter
:
public
QgsAbstractGeocoderLocatorFilter
35
{
36
37
Q_OBJECT
38
39
public
:
40
60
QgsGeocoderLocatorFilter
(
const
QString &name,
const
QString &displayName,
61
const
QString &prefix,
62
QgsGeocoderInterface
*geocoder,
63
QgsMapCanvas
*canvas,
64
const
QgsRectangle
&boundingBox =
QgsRectangle
() );
65
66
QgsLocatorFilter
*clone()
const
override
SIP_FACTORY
;
67
68
private
:
69
void
handleGeocodeResult(
const
QgsGeocoderResult
&result )
override
;
70
71
QgsMapCanvas
*mCanvas =
nullptr
;
72
73
};
74
75
#endif // QGSGEOCODERLOCATORFILTER_H
QgsLocatorFilter
Abstract base class for filters which collect locator results.
Definition:
qgslocatorfilter.h:152
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:89
QgsGeocoderLocatorFilter
An adapter class which implements a locator filter populated from a QgsGeocoderInterface.
Definition:
qgsgeocoderlocatorfilter.h:34
QgsRectangle
A rectangle specified with double values.
Definition:
qgsrectangle.h:41
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
QgsAbstractGeocoderLocatorFilter
An abstract base class which implements a locator filter populated from a QgsGeocoderInterface.
Definition:
qgsabstractgeocoderlocatorfilter.h:39
QgsGeocoderResult
Represents a matching result from a geocoder search.
Definition:
qgsgeocoderresult.h:40
qgsabstractgeocoderlocatorfilter.h
QgsGeocoderInterface
Interface for geocoders.
Definition:
qgsgeocoder.h:36
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17