- class QPlace#
Synopsis#
Methods#
def
__init__()
def
attribution()
def
categories()
def
contactDetails()
def
contactTypes()
def
content()
def
detailsFetched()
def
icon()
def
insertContent()
def
isEmpty()
def
location()
def
name()
def
__ne__()
def
__eq__()
def
placeId()
def
primaryEmail()
def
primaryFax()
def
primaryPhone()
def
primaryWebsite()
def
ratings()
def
setAttribution()
def
setCategories()
def
setCategory()
def
setContent()
def
setIcon()
def
setLocation()
def
setName()
def
setPlaceId()
def
setRatings()
def
setSupplier()
def
supplier()
def
swap()
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__()
- appendContactDetail(contactType, detail)#
- Parameters:
contactType – str
detail –
QPlaceContactDetail
- attribution()#
- Return type:
str
- categories()#
- Return type:
.list of QPlaceCategory
- contactDetails(contactType)#
- Parameters:
contactType – str
- Return type:
.list of QPlaceContactDetail
- contactTypes()#
- Return type:
list of strings
- content(type)#
- Parameters:
type –
Type
- Return type:
Dictionary with keys of type .int and values of type QPlaceContent.
- detailsFetched()#
- Return type:
bool
- extendedAttribute(attributeType)#
- Parameters:
attributeType – str
- Return type:
- extendedAttributeTypes()#
- Return type:
list of strings
- icon()#
- Return type:
- insertContent(type, content)#
- Parameters:
type –
Type
content – Dictionary with keys of type .int and values of type QPlaceContent.
- isEmpty()#
- Return type:
bool
- location()#
- Return type:
- name()#
- Return type:
str
- placeId()#
- Return type:
str
- primaryEmail()#
- Return type:
str
- primaryFax()#
- Return type:
str
- primaryPhone()#
- Return type:
str
- ratings()#
- Return type:
- removeContactDetails(contactType)#
- Parameters:
contactType – str
- removeExtendedAttribute(attributeType)#
- Parameters:
attributeType – str
- setAttribution(attribution)#
- Parameters:
attribution – str
- setCategories(categories)#
- Parameters:
categories – .list of QPlaceCategory
- setCategory(category)#
- Parameters:
category –
QPlaceCategory
- setContactDetails(contactType, details)#
- Parameters:
contactType – str
details – .list of QPlaceContactDetail
- setContent(type, content)#
- Parameters:
type –
Type
content – Dictionary with keys of type .int and values of type QPlaceContent.
- setDetailsFetched(fetched)#
- Parameters:
fetched – bool
- setExtendedAttribute(attributeType, attribute)#
- Parameters:
attributeType – str
attribute –
QPlaceAttribute
- setIcon(icon)#
- Parameters:
icon –
QPlaceIcon
- setLocation(location)#
- Parameters:
location –
QGeoLocation
- setName(name)#
- Parameters:
name – str
- setPlaceId(identifier)#
- Parameters:
identifier – str
- setRatings(ratings)#
- Parameters:
ratings –
QPlaceRatings
- setSupplier(supplier)#
- Parameters:
supplier –
QPlaceSupplier
- supplier()#
- Return type: