QPlaceImageclass represents a reference to an image. 更多 …
def
imageId
()
def
mimeType
()
def
setImageId
(identifier)
def
setMimeType
(data)
def
setUrl
(url)
def
url
()
每
QPlaceImagerepresents a set of metadata about an image such as it’s url, identifier and MIME type. These are properties in addition to those provided byQPlaceContent.Note: The Places API only supports images as ‘retrieve-only’ objects. Submitting images to a provider is not a supported use case.
另请参阅
QPlaceImage
¶
QPlaceImage(other)
- param other
Constructs an new
QPlaceImage
.
构造副本为
other
if possible, otherwise constructs a default image.
PySide2.QtLocation.QPlaceImage.
imageId
(
)
¶
unicode
Returns the image’s identifier.
另请参阅
PySide2.QtLocation.QPlaceImage.
mimeType
(
)
¶
unicode
Returns the image’s MIME type.
另请参阅
PySide2.QtLocation.QPlaceImage.
setImageId
(
identifier
)
¶
identifier – unicode
Sets image’s
identifier
.
另请参阅
PySide2.QtLocation.QPlaceImage.
setMimeType
(
data
)
¶
data – unicode
Sets image’s MIME
type
.
另请参阅