class QPlace

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

__init__()
__init__(other)
Parameters:

otherQPlace

appendContactDetail(contactType, detail)
Parameters:
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:

typeType

Return type:

Dictionary with keys of type .int and values of type QPlaceContent.

detailsFetched()
Return type:

bool

extendedAttribute(attributeType)
Parameters:

attributeType – str

Return type:

QPlaceAttribute

extendedAttributeTypes()
Return type:

list of strings

icon()
Return type:

QPlaceIcon

insertContent(type, content)
Parameters:
  • typeType

  • content – Dictionary with keys of type .int and values of type QPlaceContent.

isEmpty()
Return type:

bool

location()
Return type:

QGeoLocation

name()
Return type:

str

__ne__(rhs)
Parameters:

rhsQPlace

Return type:

bool

__eq__(rhs)
Parameters:

rhsQPlace

Return type:

bool

placeId()
Return type:

str

primaryEmail()
Return type:

str

primaryFax()
Return type:

str

primaryPhone()
Return type:

str

primaryWebsite()
Return type:

QUrl

ratings()
Return type:

QPlaceRatings

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:

categoryQPlaceCategory

setContactDetails(contactType, details)
Parameters:
  • contactType – str

  • details – .list of QPlaceContactDetail

setContent(type, content)
Parameters:
  • typeType

  • content – Dictionary with keys of type .int and values of type QPlaceContent.

setDetailsFetched(fetched)
Parameters:

fetched – bool

setExtendedAttribute(attributeType, attribute)
Parameters:
setIcon(icon)
Parameters:

iconQPlaceIcon

setLocation(location)
Parameters:

locationQGeoLocation

setName(name)
Parameters:

name – str

setPlaceId(identifier)
Parameters:

identifier – str

setRatings(ratings)
Parameters:

ratingsQPlaceRatings

setSupplier(supplier)
Parameters:

supplierQPlaceSupplier

setTotalContentCount(type, total)
Parameters:
  • typeType

  • total – int

supplier()
Return type:

QPlaceSupplier

swap(other)
Parameters:

otherQPlace

totalContentCount(type)
Parameters:

typeType

Return type:

int