内容表

上一话题

QPlaceMatchReply

下一话题

QPlaceProposedSearchResult

QPlaceMatchRequest

QPlaceMatchRequest class is used to find places from one manager that match those from another. It represents a set of request parameters. 更多

Inheritance diagram of PySide2.QtLocation.QPlaceMatchRequest

概要

函数

详细描述

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 实例。

Matching places between managers for an example on how to use a match request.

另请参阅

QPlaceMatchReply QPlaceManager

class QPlaceMatchRequest

QPlaceMatchRequest(other)

param other

QPlaceMatchRequest

Default constructor. Constructs a new request object.

构造副本为 other .

PySide2.QtLocation.QPlaceMatchRequest. AlternativeId
PySide2.QtLocation.QPlaceMatchRequest. clear ( )

Clears the match request.

PySide2.QtLocation.QPlaceMatchRequest. __ne__ ( other )
参数

other QPlaceMatchRequest

返回类型

bool

返回 true 若 other is not equal to this match request, otherwise returns false.

PySide2.QtLocation.QPlaceMatchRequest. __eq__ ( other )
参数

other QPlaceMatchRequest

返回类型

bool

返回 true 若 other is equal to this match request, otherwise returns false.

PySide2.QtLocation.QPlaceMatchRequest. 参数 ( )
返回类型

Returns the parameters for matching places.

另请参阅

setParameters()

PySide2.QtLocation.QPlaceMatchRequest. places ( )
返回类型

Returns a list of places which are to be matched.

另请参阅

setPlaces()

PySide2.QtLocation.QPlaceMatchRequest. setParameters ( 参数 )
参数

参数

设置 参数 for matching places.

另请参阅

parameters()

PySide2.QtLocation.QPlaceMatchRequest. setPlaces ( places )
参数

places

Sets a list of places which are to be matched.

PySide2.QtLocation.QPlaceMatchRequest. setResults ( 结果 )
参数

结果

Convenience function which uses a set of search 结果 to set the places which should be matched.

另请参阅

setPlaces()