Search for usage in LXR

org::kde::kirigami::templates::IconPropertiesGroup Class Reference

Inherits QtObject.


color color
string name
var source

Detailed Description

Group of icon properties.

This is a subset of those used in QQC2, Kirigami.Action still needs the full one as it needs 100% api compatibility.

Depending on the implementation, if a Freedesktop standard icon with the specified name is not found, the ::source property will be used instead.

Definition at line 16 of file IconPropertiesGroup.qml.

Property Documentation

◆ color

color org::kde::kirigami::templates::IconPropertiesGroup::color

This property holds the icon tint color.

The icon is tinted with the specified color, unless the color is set to "transparent".

default: transparent

See also

Definition at line 44 of file IconPropertiesGroup.qml.

◆ name

string org::kde::kirigami::templates::IconPropertiesGroup::name

This property holds a Freedesktop standard icon name.

The icon will be loaded from the selected icon theme, which can be set by the platform or included with the app.

See also

Definition at line 26 of file IconPropertiesGroup.qml.

◆ source

var org::kde::kirigami::templates::IconPropertiesGroup::source

This property holds the icon source.

The icon will be loaded as a regular image.

See also

Definition at line 34 of file IconPropertiesGroup.qml.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:08:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.