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: |
Properties
- asynchronous : bool
- cache : bool
- clippedContent : Item
- color : color
- defaultInitialsColor : color
- imageMode : int
- initialsColor : color
- initialsMode : int
- name : string
- source : url
- sourceSize : int
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 |
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 |
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.