- class QPlaceManagerEngine#
-
摘要#
方法#
def
__init__()def
manager()def
managerName()
虚方法#
定义
category()定义
locales()定义
savePlace()定义
search()定义
setLocales()
信号#
注意
此文档可能包含从 C++ 到 Python 自动翻译的片段。我们始终欢迎对片段翻译的贡献。如果您发现问题,您还可以通过在 https:/bugreports.qt.io/projects/PYSIDE上创建工单来通知我们。
详细描述#
- __init__(parameters[, parent=None])#
- 参数
parameters - 键为 QString 类型,值为 QVariant 类型的字典。
parent -
QObject
- category(categoryId)#
- 参数
categoryId - 字符串
- 返回类型
- categoryAdded(category, parentCategoryId)#
- 参数
category -
QPlaceCategoryparentCategoryId - 字符串
- categoryRemoved(categoryId, parentCategoryId)#
- 参数
categoryId - 字符串
parentCategoryId - 字符串
- categoryUpdated(category, parentCategoryId)#
- 参数
category -
QPlaceCategoryparentCategoryId - 字符串
- childCategories(parentId)#
- 参数
parentId – 字符串
- 返回类型
. QPlaceCategory 列表
- childCategoryIds(categoryId)#
- 参数
categoryId - 字符串
- 返回类型
字符串列表
- constructIconUrl(icon, size)#
- 参数
icon –
QPlaceIconsize –
QSize
- 返回类型
- dataChanged()#
- errorOccurred(arg__1, error[, errorString=""])#
- 参数
arg__1 –
QPlaceReplyerror –
ErrorerrorString – 字符串
- finished(reply)#
- 参数
reply –
QPlaceReply
- getPlaceContent(request)#
- 参数
request –
QPlaceContentRequest- 返回类型
- getPlaceDetails(placeId)#
- 参数
placeId – 字符串
- 返回类型
- initializeCategories()#
- 返回类型
- locales()#
- 返回类型
QLocale 列表
- manager()#
- 返回类型
- managerName()#
- 返回类型
字符串
- managerVersion()#
- 返回类型
整数
- matchingPlaces(request)#
- 参数
request –
QPlaceMatchRequest- 返回类型
- parentCategoryId(categoryId)#
- 参数
categoryId - 字符串
- 返回类型
字符串
- placeAdded(placeId)#
- 参数
placeId – 字符串
- placeRemoved(placeId)#
- 参数
placeId – 字符串
- placeUpdated(placeId)#
- 参数
placeId – 字符串
- removeCategory(categoryId)#
- 参数
categoryId - 字符串
- 返回类型
- removePlace(placeId)#
- 参数
placeId – 字符串
- 返回类型
- saveCategory(category, parentId)#
- 参数
category -
QPlaceCategoryparentId – 字符串
- 返回类型
- search(request)#
- 参数
request –
QPlaceSearchRequest- 返回类型
- searchSuggestions(request)#
- 参数
request –
QPlaceSearchRequest- 返回类型
- setLocales(locales)#
- 参数
locales – QLocale 的列表