Search for usage in LXR

Chip Class Reference

Inherits KT::Chip.


alias labelItem

Detailed Description

A compact element that represents an attribute, action, or filter.

Should be used in a group of multiple elements. e.g when displaying tags in a image viewer.

Example usage:

  • import org.kde.kirigami as Kirigami
    Flow {
    Repeater {
    model: chipsModel
    Kirigami.Chip {
    text: model.text "tag-symbolic"
    closable: model.closable
    onClicked: {
    onRemoved: {

Definition at line 37 of file Chip.qml.

Property Documentation

◆ labelItem

QtQuick Controls Label Chip::labelItem

This property holds the label item; used for accessing the usual Text properties.

Definition at line 46 of file Chip.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 Fri Jun 21 2024 11:59:11 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.