QPlaceMatchRequest¶
The
QPlaceMatchRequest
class is used to find places from one manager that match those from another. It represents a set of request parameters. More…

Synopsis¶
Functions¶
def
__eq__
(other)def
__ne__
(other)def
clear
()def
parameters
()def
places
()def
setParameters
(parameters)def
setPlaces
(places)def
setResults
(results)
Detailed Description¶
Places from another manager that may have corresponding/matching places in the current manager are assigned using
setPlaces()
orsetResults()
. A set of further parameters are specified which determines the criteria for matching.The typical key for matching is the QPlaceMatchRequest::AlternativeId , the value is an alternative identifier attribute type of the format x_id_<provider name> for example x_id_here. The provider name is name supplied to the
QGeoServiceProvider
instance.See Matching places between managers for an example on how to use a match request.
See also
QPlaceMatchReply
QPlaceManager
-
class
QPlaceMatchRequest
¶ QPlaceMatchRequest(other)
- param other
Default constructor. Constructs a new request object.
Constructs a copy of
other
.
-
PySide2.QtLocation.QPlaceMatchRequest.
AlternativeId
¶
-
PySide2.QtLocation.QPlaceMatchRequest.
clear
()¶ Clears the match request.
-
PySide2.QtLocation.QPlaceMatchRequest.
__ne__
(other)¶ - Parameters
other –
QPlaceMatchRequest
- Return type
bool
Returns true if
other
is not equal to this match request, otherwise returns false.
-
PySide2.QtLocation.QPlaceMatchRequest.
__eq__
(other)¶ - Parameters
other –
QPlaceMatchRequest
- Return type
bool
Returns true if
other
is equal to this match request, otherwise returns false.
-
PySide2.QtLocation.QPlaceMatchRequest.
parameters
()¶ - Return type
Returns the parameters for matching places.
See also
-
PySide2.QtLocation.QPlaceMatchRequest.
places
()¶ - Return type
Returns a list of places which are to be matched.
See also
-
PySide2.QtLocation.QPlaceMatchRequest.
setParameters
(parameters)¶ - Parameters
parameters –
Sets the
parameters
for matching places.See also
-
PySide2.QtLocation.QPlaceMatchRequest.
setPlaces
(places)¶ - Parameters
places –
Sets a list of
places
which are to be matched.See also
-
PySide2.QtLocation.QPlaceMatchRequest.
setResults
(results)¶ - Parameters
results –
Convenience function which uses a set of search
results
to set the places which should be matched.See also