QPlaceImage露
The
QPlaceImageclass 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
QPlaceImagerepresents a set of metadata about an image such as it鈥檚 url, identifier and MIME type. These are properties in addition to those provided byQPlaceContent.Note: The Places API only supports images as 鈥榬etrieve-only鈥� objects. Submitting images to a provider is not a supported use case.
See also
- class PySide2.QtLocation.QPlaceImage露
PySide2.QtLocation.QPlaceImage(other)
- param other:
Constructs an new
QPlaceImage.Constructs a copy of
otherif possible, otherwise constructs a default image.
- PySide2.QtLocation.QPlaceImage.imageId()露
- Return type:
str
Returns the image鈥檚 identifier.
See also
- PySide2.QtLocation.QPlaceImage.mimeType()露
- Return type:
str
Returns the image鈥檚 MIME type.
See also
- PySide2.QtLocation.QPlaceImage.setImageId(identifier)露
- Parameters:
identifier 鈥� str
Sets image鈥檚
identifier.See also
- PySide2.QtLocation.QPlaceImage.setMimeType(data)露
- Parameters:
data 鈥� str
Sets image鈥檚 MIME
type.See also
- PySide2.QtLocation.QPlaceImage.setUrl(url)露
- Parameters:
url 鈥�
PySide2.QtCore.QUrl
Sets the image鈥檚
url.See also
- PySide2.QtLocation.QPlaceImage.url()露
- Return type:
Returns the image鈥檚 url.
See also
漏 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.