org::kde::kirigami::templates::Chip

Search for usage in LXR

org::kde::kirigami::templates::Chip Class Reference
Inheritance diagram for org::kde::kirigami::templates::Chip:

Properties

bool closable
 
bool iconMask
 

Signals

void removed ()
 

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Controls.AbstractButton
 canceled ()
 
 clicked ()
 
 doubleClicked ()
 
 pressAndHold ()
 
 pressed ()
 
 released ()
 
void toggle ()
 
 toggled ()
 

Detailed Description

Chip is a visual object based on AbstractButton that provides a friendly way to display predetermined elements with the visual styling of "tags" or "tokens.".

See also
Chip
Since
2.19

Import Statement
import org.kde.kirigami.templates
Version
2.19

Definition at line 17 of file templates/Chip.qml.

Property Documentation

◆ closable

bool org::kde::kirigami::templates::Chip::closable
read

This property holds whether or not to display a close button.

default: true

Definition at line 24 of file templates/Chip.qml.

◆ iconMask

bool org::kde::kirigami::templates::Chip::iconMask
read

This property holds whether the icon should be masked or not.

This controls the Kirigami.Icon.isMask property.

default: false

Definition at line 30 of file templates/Chip.qml.

Member Function Documentation

◆ removed

void org::kde::kirigami::templates::Chip::removed ( )
signal

This signal is emitted when the close button has been clicked.


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 18 2024 12:16:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.