PySide6.QtLocation.QPlaceSearchReply¶
- class QPlaceSearchReply¶
The
QPlaceSearchReply
class manages a place search operation started by an instance ofQPlaceManager
. More…Synopsis¶
Methods¶
def
__init__()
def
request()
def
results()
def
setRequest()
def
setResults()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
See Discovery/Search for an example on how to use a search reply.
See also
Constructs a search reply with a given
parent
.- nextPageRequest()¶
- Return type:
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.
- previousPageRequest()¶
- Return type:
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.
- request()¶
- Return type:
Returns the search request that was used to generate this reply.
See also
- results()¶
- Return type:
.list of QPlaceSearchResult
Returns a list of search results;
See also
- setNextPageRequest(next)¶
- Parameters:
next –
QPlaceSearchRequest
Sets the next page of search results request to
next
.See also
- setPreviousPageRequest(previous)¶
- Parameters:
previous –
QPlaceSearchRequest
Sets the previous page of search results request to
previous
.See also
- setRequest(request)¶
- Parameters:
request –
QPlaceSearchRequest
Sets the search
request
used to generate this reply.See also
- setResults(results)¶
- Parameters:
results – .list of QPlaceSearchResult
Sets the list of search
results
.See also