IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QPlaceImage Class

The QPlaceImage class represents a reference to an image.

This class was introduced in Qt 5.6.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QPlaceImage Class▲

  • Header: QPlaceImage

  • Since: Qt 5.6

  • qmake: QT += location

  • Inherits: QPlaceContent

  • Group: QPlaceImage is part of QtLocation-places, QtLocation-places-data

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 by QPlaceContent.

Note: The Places API only supports images as 'retrieve-only' objects. Submitting images to a provider is not a supported use case.

See Also▲

See also QPlaceContent

Member Function Documentation▲

 

QPlaceImage::QPlaceImage()▲

Constructs an new QPlaceImage.

QPlaceImage::QPlaceImage(const QPlaceContent &other)▲

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

[virtual] QPlaceImage::~QPlaceImage()▲

Destructor.

QString QPlaceImage::imageId() const▲

Returns the image's identifier.

See Also▲

See also setImageId()

QString QPlaceImage::mimeType() const▲

Returns the image's MIME type.

See Also▲

See also setMimeType()

void QPlaceImage::setImageId(const QString &identifier)▲

Sets image's identifier.

See Also▲

See also imageId()

void QPlaceImage::setMimeType(const QString &type)▲

Sets image's MIME type.

See Also▲

See also mimeType()

void QPlaceImage::setUrl(const QUrl &url)▲

Sets the image's url.

See Also▲

See also url()

QUrl QPlaceImage::url() const▲

Returns the image's url.

See Also▲

See also setUrl()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+