Warning, /maui/mauikit/examples/Chip.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick
0002 import QtQuick.Controls
0003 import QtQuick.Layouts
0004 import org.mauikit.controls as Maui
0005 
0006 Maui.ApplicationWindow
0007 {
0008     id: root
0009 
0010     Maui.Page
0011     {
0012         id: _page
0013         anchors.fill: parent
0014         Maui.Controls.showCSD: true
0015         headBar.forceCenterMiddleContent: true
0016 
0017         Flow
0018         {
0019             width: 400
0020             anchors.centerIn: parent
0021             spacing: Maui.Style.space.big
0022 
0023             Maui.Chip
0024             {
0025                 text: "Chip1"
0026                 color: "#757575"
0027                 showCloseButton: true
0028             }
0029 
0030             Maui.Chip
0031             {
0032                 text: "Chip2"
0033                 icon.name: "actor"
0034                 color: "#03A9F4"
0035                 showCloseButton: true
0036             }
0037 
0038             Maui.Chip
0039             {
0040                 text: "Chip3"
0041                 icon.name: "anchor"
0042                 color: "#4CAF50"
0043                 showCloseButton: true
0044             }
0045 
0046             Maui.Chip
0047             {
0048                 text: "Chip4"
0049                 color: "#E1BEE7"
0050             }
0051 
0052             Maui.Chip
0053             {
0054                 text: "Chip5"
0055                 color: "#FFC107"
0056             }
0057 
0058             Maui.Chip
0059             {
0060                 text: "Chip6"
0061                 color: "#607D8B"
0062             }
0063 
0064             Maui.Chip
0065             {
0066                 text: "Chip7"
0067                 color: "#FF5722"
0068                 icon.source: "/home/camiloh/Downloads/5911329.jpeg"
0069             }
0070         }
0071     }
0072 }