AvatarImageProvider
AvatarImageProvider Class Reference
#include <avatarimageprovider.h>
Inheritance diagram for AvatarImageProvider:

Public Member Functions | |
QPixmap | requestPixmap (const QString &id, QSize *size, const QSize &requestedSize) override |
![]() | |
QQuickImageProvider (QQmlImageProviderBase::ImageType type, QQmlImageProviderBase::Flags flags) | |
virtual QQmlImageProviderBase::Flags | flags () const const override |
virtual QQmlImageProviderBase::ImageType | imageType () const const override |
virtual QImage | requestImage (const QString &id, QSize *size, const QSize &requestedSize) |
virtual QQuickTextureFactory * | requestTexture (const QString &id, QSize *size, const QSize &requestedSize) |
Additional Inherited Members | |
![]() | |
enum | Flag |
enum | ImageType |
![]() | |
typedef | Flags |
ForceAsynchronousImageLoading | |
Image | |
ImageResponse | |
Invalid | |
Pixmap | |
Texture | |
Detailed Description
An image provider for displaying a contact's photo.
It is automatically available when importing the KPeople QML module.
Image URIs for it can be retrieved from KPeople.PersonData
's photoImageProviderUri
property, or from KPeople.PersonsModel
's photoImageProviderUri
role.
Example:
- Since
- 5.93.0
Definition at line 28 of file avatarimageprovider.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Jun 26 2022 03:54:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Jun 26 2022 03:54:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.