AvatarButton QML Type

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

Import Statement: import org.kde.kirigamiaddons.labs.components
Inherits:

AbstractButton

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.


clippedContent : Item [read-only]

This item holds the parent item on the clipped circle.

Implementations may add custom graphics which will be clipped along with the rest of the avatar content.


color : color

This property holds the color to use for this avatar.


defaultInitialsColor : color [read-only]

This property holds the default color of the avatar's initials.


imageMode : int

This property holds how the avatar should be shown.

See also Avatar.imageMode.


initialsColor : color

This property holds the color of the avatar's initials.


initialsMode : int

This property holds how the button should represent the user when no user-set image is available.

See also Avatar.initialsMode.


name : string

This property holds the given name of a user.

See also Avatar.name.


source : url

This property holds avatar's icon source.

See also Avatar.source.


sourceSize : int

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