QPlaceImage¶
The
QPlaceImage
class represents a reference to an image. More…

Synopsis¶
Functions¶
def
imageId
()def
mimeType
()def
setImageId
(identifier)def
setMimeType
(data)def
setUrl
(url)def
url
()
Detailed Description¶
Each
QPlaceImage
represents 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.
See also
-
class
QPlaceImage
¶ QPlaceImage(other)
- param other
Constructs an new
QPlaceImage
.Constructs a copy of
other
if possible, otherwise constructs a default image.
-
PySide2.QtLocation.QPlaceImage.
imageId
()¶ - Return type
unicode
Returns the image’s identifier.
See also
-
PySide2.QtLocation.QPlaceImage.
mimeType
()¶ - Return type
unicode
Returns the image’s MIME type.
See also
-
PySide2.QtLocation.QPlaceImage.
setImageId
(identifier)¶ - Parameters
identifier – unicode
Sets image’s
identifier
.See also
-
PySide2.QtLocation.QPlaceImage.
setMimeType
(data)¶ - Parameters
data – unicode
Sets image’s MIME
type
.See also
-
PySide2.QtLocation.QPlaceImage.
setUrl
(url)¶ - Parameters
url –
QUrl
Sets the image’s
url
.See also