QPlaceMatchReplyclass manages a place matching operation started by an instance ofQPlaceManager. 更多 …
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.
另请参阅
QPlaceMatchRequestQPlaceManager
QPlaceMatchReply
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a match reply with a given
parent
.
PySide2.QtLocation.QPlaceMatchReply.
places
(
)
¶
Returns a list of matching places;
另请参阅
PySide2.QtLocation.QPlaceMatchReply.
request
(
)
¶
Returns the match request that was used to generate this reply.
另请参阅
PySide2.QtLocation.QPlaceMatchReply.
setPlaces
(
结果
)
¶
结果 –
Sets the list of matching
places
.
另请参阅
PySide2.QtLocation.QPlaceMatchReply.
setRequest
(
request
)
¶
request
–
QPlaceMatchRequest
Sets the match
request
used to generate this reply.
另请参阅