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

Search for usage in LXR

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

Inherits QtObject.

Properties

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 needs 100% api compatibility

Definition at line 13 of file IconPropertiesGroup.qml.

Property Documentation

◆ color

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

This property holds the icon tint color.

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

Definition at line 36 of file IconPropertiesGroup.qml.

◆ name

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

This property holds icon name.

The icon will be loaded from the platform theme. If the icon is found in the theme, it will always be used; even if icon.source is also set. If the icon is not found, icon.source will be used instead.

Definition at line 22 of file IconPropertiesGroup.qml.

◆ source

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

This property holds the icon source.

The icon will be loaded as a regular image.

See also
QtQuick.Image::source

Definition at line 30 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 Mon Feb 6 2023 04:13:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.