- class QPlaceManagerEngine¶
-
Synopsis¶
Methods¶
def
__init__()
def
manager()
def
managerName()
def
managerVersion()
Virtual methods¶
def
category()
def
locales()
def
matchingPlaces()
def
removeCategory()
def
removePlace()
def
saveCategory()
def
savePlace()
def
search()
def
setLocales()
Signals¶
def
categoryAdded()
def
dataChanged()
def
errorOccurred()
def
finished()
def
placeAdded()
def
placeRemoved()
def
placeUpdated()
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¶
- __init__(parameters[, parent=None])¶
- Parameters:
parameters – Dictionary with keys of type .QString and values of type QVariant.
parent –
QObject
- category(categoryId)¶
- Parameters:
categoryId – str
- Return type:
- categoryAdded(category, parentCategoryId)¶
- Parameters:
category –
QPlaceCategory
parentCategoryId – str
- categoryRemoved(categoryId, parentCategoryId)¶
- Parameters:
categoryId – str
parentCategoryId – str
- categoryUpdated(category, parentCategoryId)¶
- Parameters:
category –
QPlaceCategory
parentCategoryId – str
- childCategories(parentId)¶
- Parameters:
parentId – str
- Return type:
.list of QPlaceCategory
- childCategoryIds(categoryId)¶
- Parameters:
categoryId – str
- Return type:
list of strings
- constructIconUrl(icon, size)¶
- Parameters:
icon –
QPlaceIcon
size –
QSize
- Return type:
- dataChanged()¶
- errorOccurred(arg__1, error[, errorString=""])¶
- Parameters:
arg__1 –
QPlaceReply
error –
Error
errorString – str
- finished(reply)¶
- Parameters:
reply –
QPlaceReply
- getPlaceContent(request)¶
- Parameters:
request –
QPlaceContentRequest
- Return type:
- getPlaceDetails(placeId)¶
- Parameters:
placeId – str
- Return type:
- initializeCategories()¶
- Return type:
- manager()¶
- Return type:
- managerName()¶
- Return type:
str
- managerVersion()¶
- Return type:
int
- matchingPlaces(request)¶
- Parameters:
request –
QPlaceMatchRequest
- Return type:
- parentCategoryId(categoryId)¶
- Parameters:
categoryId – str
- Return type:
str
- placeAdded(placeId)¶
- Parameters:
placeId – str
- placeRemoved(placeId)¶
- Parameters:
placeId – str
- placeUpdated(placeId)¶
- Parameters:
placeId – str
- removeCategory(categoryId)¶
- Parameters:
categoryId – str
- Return type:
- removePlace(placeId)¶
- Parameters:
placeId – str
- Return type:
- saveCategory(category, parentId)¶
- Parameters:
category –
QPlaceCategory
parentId – str
- Return type:
- search(request)¶
- Parameters:
request –
QPlaceSearchRequest
- Return type:
- searchSuggestions(request)¶
- Parameters:
request –
QPlaceSearchRequest
- Return type:
- setLocales(locales)¶
- Parameters:
locales – .list of QLocale