QPlaceSearchReplyclass manages a place search operation started by an instance ofQPlaceManager. 更多 …
def
nextPageRequest
()
def
previousPageRequest
()
def
request
()
def
结果
()
def
setNextPageRequest
(next)
def
setPreviousPageRequest
(previous)
def
setRequest
(request)
def
setResults
(results)
见 Discovery/Search for an example on how to use a search reply.
另请参阅
QPlaceSearchRequestQPlaceManager
QPlaceSearchReply
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a search reply with a given
parent
.
PySide2.QtLocation.QPlaceSearchReply.
nextPageRequest
(
)
¶
Returns a place search request which can be used to request the next page of search results. An empty place search request is returned if there is no next page of results.
PySide2.QtLocation.QPlaceSearchReply.
previousPageRequest
(
)
¶
Returns a place search request which can be used to request the previous page of search results. An empty place search request is returned if there is no previous page of results.
PySide2.QtLocation.QPlaceSearchReply.
request
(
)
¶
Returns the search request that was used to generate this reply.
另请参阅
PySide2.QtLocation.QPlaceSearchReply.
结果
(
)
¶
Returns a list of search results;
另请参阅
PySide2.QtLocation.QPlaceSearchReply.
setNextPageRequest
(
next
)
¶
next
–
QPlaceSearchRequest
Sets the next page of search results request to
next
.
另请参阅
PySide2.QtLocation.QPlaceSearchReply.
setPreviousPageRequest
(
上一
)
¶
上一
–
QPlaceSearchRequest
Sets the previous page of search results request to
上一
.
PySide2.QtLocation.QPlaceSearchReply.
setRequest
(
request
)
¶
request
–
QPlaceSearchRequest
Sets the search
request
used to generate this reply.
另请参阅