PySide6.QtLocation.QPlaceSearchSuggestionReply¶
- class QPlaceSearchSuggestionReply¶
The
QPlaceSearchSuggestionReply
class manages a search suggestion operation started by an instance ofQPlaceManager
. More…Synopsis¶
Methods¶
def
__init__()
def
setSuggestions()
def
suggestions()
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¶
On successful completion of the operation, the reply will contain a list of search term suggestions. See Search Suggestions for an example on how to use a search suggestion reply.
See also
Constructs a search suggestion reply with a given
parent
.- setSuggestions(suggestions)¶
- Parameters:
suggestions – list of strings
Sets the search term
suggestions
.See also
- suggestions()¶
- Return type:
list of strings
Returns the search term suggestions.
See also