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…

Inheritance diagram of PySide2.QtLocation.QPlaceMatchRequest

Synopsis¶

Functions¶

Detailed Description¶

Places from another manager that may have corresponding/matching places in the current manager are assigned using setPlaces() or setResults() . 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.

class PySide2.QtLocation.QPlaceMatchRequest¶

PySide2.QtLocation.QPlaceMatchRequest(other)

param other:

PySide2.QtLocation.QPlaceMatchRequest

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 – PySide2.QtLocation.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 – PySide2.QtLocation.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

setParameters()

PySide2.QtLocation.QPlaceMatchRequest.places()¶
Return type:

Returns a list of places which are to be matched.

See also

setPlaces()

PySide2.QtLocation.QPlaceMatchRequest.setParameters(parameters)¶
Parameters:

parameters –

Sets the parameters for matching places.

See also

parameters()

PySide2.QtLocation.QPlaceMatchRequest.setPlaces(places)¶
Parameters:

places –

Sets a list of places which are to be matched.

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

setPlaces()