Warning, /maui/mauikit/examples/IconLabel.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         title: "IconLabel"
0018 
0019         ColumnLayout
0020         {
0021             anchors.centerIn: parent
0022             spacing: Maui.Style.space.big
0023 
0024             Maui.IconLabel
0025             {
0026                 icon: ({name: "folder", height: "22", width: "22", color: "yellow"})
0027                 text: "Testing"
0028                 display: ToolButton.TextBesideIcon
0029                 alignment: Qt.AlignLeft
0030                 color: "yellow"
0031             }
0032 
0033             Maui.IconLabel
0034             {
0035                 icon: ({name: "vvave", height: "64", width: "64"})
0036                 text: "Vvave"
0037                 display: ToolButton.TextUnderIcon
0038                 alignment: Qt.AlignHCenter
0039             }
0040         }
0041     }
0042 }
0043