QPlaceImage露

The QPlaceImage class represents a reference to an image. More鈥�

Inheritance diagram of PySide2.QtLocation.QPlaceImage

Synopsis露

Functions露

Detailed Description露

Each QPlaceImage represents a set of metadata about an image such as it鈥檚 url, identifier and MIME type. These are properties in addition to those provided by QPlaceContent .

Note: The Places API only supports images as 鈥榬etrieve-only鈥� objects. Submitting images to a provider is not a supported use case.

See also

QPlaceContent

class PySide2.QtLocation.QPlaceImage露

PySide2.QtLocation.QPlaceImage(other)

param other:

PySide2.QtLocation.QPlaceContent

Constructs an new QPlaceImage .

Constructs a copy of other if possible, otherwise constructs a default image.

PySide2.QtLocation.QPlaceImage.imageId()露
Return type:

str

Returns the image鈥檚 identifier.

See also

setImageId()

PySide2.QtLocation.QPlaceImage.mimeType()露
Return type:

str

Returns the image鈥檚 MIME type.

See also

setMimeType()

PySide2.QtLocation.QPlaceImage.setImageId(identifier)露
Parameters:

identifier 鈥� str

Sets image鈥檚 identifier .

See also

imageId()

PySide2.QtLocation.QPlaceImage.setMimeType(data)露
Parameters:

data 鈥� str

Sets image鈥檚 MIME type .

See also

mimeType()

PySide2.QtLocation.QPlaceImage.setUrl(url)露
Parameters:

url 鈥� PySide2.QtCore.QUrl

Sets the image鈥檚 url .

See also

url()

PySide2.QtLocation.QPlaceImage.url()露
Return type:

PySide2.QtCore.QUrl

Returns the image鈥檚 url.

See also

setUrl()