QPlaceSearchSuggestionReplyclass manages a search suggestion operation started by an instance ofQPlaceManager. 更多 …
def
setSuggestions
(suggestions)
def
suggestions
()
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.
另请参阅
QPlaceManager
QPlaceSearchSuggestionReply
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a search suggestion reply with a given
parent
.
PySide2.QtLocation.QPlaceSearchSuggestionReply.
setSuggestions
(
suggestions
)
¶
suggestions – 字符串列表
Sets the search term
suggestions
.
另请参阅
PySide2.QtLocation.QPlaceSearchSuggestionReply.
suggestions
(
)
¶
字符串列表
Returns the search term suggestions.
另请参阅