Avatar QML Type

An element that represents a user, either with initials, an icon, or a profile image. More...

Import Statement: import org.kde.kirigami

Properties

Detailed Description

Property Documentation

asynchronous : bool

Load the image asynchronously.

See also Image.asynchronous.

cache : bool

This property sets whether the provided image should be cached.

See also Image.cache.

color : color

This property holds the color to use for this avatar.

If not explicitly set, this defaults to generating a color from the name.

icon group

icon.color : color

icon.height : int

icon.name : string

icon.source : string

icon.width : int

This holds the icon that represents this page.

name : string

This property holds the given name of a user.

The user's name will be used for generating initials and to provide the accessible name for assistive technology.

source : url

This property holds the source of the user's profile picture; an image.

See also Image.source.

sourceSize : int

This property holds the source size of the user's profile picture.

See also Image.sourceSize.