Warning, /frameworks/kirigami/src/controls/AbstractChip.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2022 Felipe Kinoshita <kinofhek@gmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import "templates" as T
0005 import "private" as P
0006 
0007 /**
0008  * AbstractChip is a visual object based on QtQuick.Controls.AbstractButton
0009  * that provides a way to display predetermined elements
0010  * with the visual styling of "tags" or "tokens". It provides
0011  * the look, the base properties, and signals for an AbstractButton.
0012  *
0013  * You can control its visual feedback with the following properties:
0014  * * `down: bool`: whether the chip component has been presssed (click feedback)
0015  * * `hoverEnabled: bool`: whether the chip supports hover event (hover feedback)
0016  * * `checked: bool`: whether the chip is in a checked state (check feedback)
0017  *
0018  * @since org.kde.kirigami 2.19
0019  * @inherit kirigami::templates::AbstractChip
0020  */
0021 T.AbstractChip {
0022     id: root
0023 
0024     background: P.DefaultChipBackground {}
0025 }