QPlaceMatchRequestclass is used to find places from one manager that match those from another. It represents a set of request parameters. 更多 …
def
__eq__
(other)
def
__ne__
(other)
def
clear
()
def
参数
()
def
places
()
def
setParameters
(parameters)
def
setPlaces
(places)
def
setResults
(results)
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实例。见 Matching places between managers for an example on how to use a match request.
另请参阅
QPlaceMatchReplyQPlaceManager
QPlaceMatchRequest
¶
QPlaceMatchRequest(other)
- param other
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.
另请参阅
PySide2.QtLocation.QPlaceMatchRequest.
places
(
)
¶
Returns a list of places which are to be matched.
另请参阅
PySide2.QtLocation.QPlaceMatchRequest.
setParameters
(
参数
)
¶
参数 –
设置
参数
for matching places.
另请参阅
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.
另请参阅