AvatarButton

Search for usage in LXR

AvatarButton Class Reference

Properties

alias cache
 
alias clippedContent
 
alias color
 
alias defaultInitialsColor
 
alias imageMode
 
alias initialsColor
 
alias initialsMode
 
alias name
 
alias source
 
alias sourceSize
 

Detailed Description

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

Definition at line 9 of file AvatarButton.qml.

Property Documentation

◆ cache

alias AvatarButton::cache
read

This property sets whether the provided image should be cached.

See also
QtQuick.Image::cache

Definition at line 35 of file AvatarButton.qml.

◆ clippedContent

alias AvatarButton::clippedContent
read

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.

Remarks
This property is read-only

Definition at line 60 of file AvatarButton.qml.

◆ color

alias AvatarButton::color
read

This property holds the color to use for this avatar.

Definition at line 43 of file AvatarButton.qml.

◆ defaultInitialsColor

alias AvatarButton::defaultInitialsColor
read

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

Remarks
This property is read-only

Definition at line 52 of file AvatarButton.qml.

◆ imageMode

alias AvatarButton::imageMode
read

This property holds how the avatar should be shown.

See also
org:kde::kirigamiaddons::components::Avatar::imageMode

Definition at line 30 of file AvatarButton.qml.

◆ initialsColor

alias AvatarButton::initialsColor
read

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

Definition at line 47 of file AvatarButton.qml.

◆ initialsMode

alias AvatarButton::initialsMode
read

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

See also
org:kde::kirigamiaddons::components::Avatar::initialsMode

Definition at line 25 of file AvatarButton.qml.

◆ name

alias AvatarButton::name
read

This property holds the given name of a user.

See also
org:kde::kirigamiaddons::components::Avatar::source

Definition at line 15 of file AvatarButton.qml.

◆ source

alias AvatarButton::source
read

This property holds avatar's icon source.

See also
org:kde::kirigamiaddons::components::Avatar::source

Definition at line 20 of file AvatarButton.qml.

◆ sourceSize

alias AvatarButton::sourceSize
read

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

Definition at line 39 of file AvatarButton.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.