PySide6.QtLocation.QPlaceSearchSuggestionReply

class QPlaceSearchSuggestionReply

The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager . More

Inheritance diagram of PySide6.QtLocation.QPlaceSearchSuggestionReply

Synopsis

Methods

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

QPlaceManager

__init__([parent=None])
Parameters:

parentQObject

Constructs a search suggestion reply with a given parent.

setSuggestions(suggestions)
Parameters:

suggestions – list of strings

Sets the search term suggestions.

See also

suggestions()

suggestions()
Return type:

list of strings

Returns the search term suggestions.

See also

setSuggestions()