内容表

上一话题

QPlaceManagerEngine

下一话题

QPlaceMatchRequest

QPlaceMatchReply

QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager . 更多

Inheritance diagram of PySide2.QtLocation.QPlaceMatchReply

概要

函数

详细描述

If the operation is successful, the number of places in the reply matches those in the request. If a particular place in the request is not found, a default constructed place is used as a place holder in the reply. In this way, there is always a one is to one relationship between input places in the request, and output places in the reply.

If the operation is not successful the number of places is always zero.

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

另请参阅

QPlaceMatchRequest QPlaceManager

class QPlaceMatchReply ( [ parent=None ] )
param parent

QObject

Constructs a match reply with a given parent .

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

Returns a list of matching places;

另请参阅

setPlaces()

PySide2.QtLocation.QPlaceMatchReply. request ( )
返回类型

QPlaceMatchRequest

Returns the match request that was used to generate this reply.

另请参阅

setRequest()

PySide2.QtLocation.QPlaceMatchReply. setPlaces ( 结果 )
参数

结果

Sets the list of matching places .

另请参阅

places()

PySide2.QtLocation.QPlaceMatchReply. setRequest ( request )
参数

request QPlaceMatchRequest

Sets the match request used to generate this reply.

另请参阅

request()