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()