Pages
API Documentation
On this page

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.components
  • Inherits: AbstractButton

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

[read-only] clippedContent : Item

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.

[read-only] defaultInitialsColor : color

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.