Warning, /maui/mauikit/examples/LabelDelegate.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         Column
0018         {
0019             width: Math.min(600, parent.width)
0020             anchors.centerIn: parent
0021 
0022             Maui.LabelDelegate
0023             {
0024                 width: parent.width
0025                 text: "Hola!"
0026                 icon.name: "love"
0027             }
0028 
0029             Maui.LabelDelegate
0030             {
0031                 width: parent.width
0032                 text: "Section Header"
0033                 icon.name: "anchor"
0034                 isSection: true
0035             }
0036 
0037 
0038             Maui.LabelDelegate
0039             {
0040                 width: parent.width
0041                 text: "Regular label thingy."
0042             }
0043 
0044             Maui.LabelDelegate
0045             {
0046                 width: parent.width
0047                 text: "Hola!"
0048                 icon.name: "folder"
0049             }
0050         }
0051     }
0052 }
0053