Warning, /maui/mauikit/examples/SectionItem.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 0014 anchors.fill: parent 0015 Maui.Controls.showCSD: true 0016 Maui.Theme.colorSet: Maui.Theme.Complementary 0017 0018 Maui.ScrollColumn 0019 { 0020 anchors.centerIn: parent 0021 width: Math.min(parent.width, 600) 0022 spacing: Maui.Style.space.big 0023 0024 Maui.SectionGroup 0025 { 0026 title: "Section with Children" 0027 description: "The description label can be a bit longer explaining something importand. Maybe?" 0028 0029 Maui.SectionItem 0030 { 0031 label1.text: "Checkable section item" 0032 iconSource: "folder" 0033 0034 Switch 0035 { 0036 onToggled: checked = !checked 0037 } 0038 } 0039 0040 Maui.SectionItem 0041 { 0042 label1.text: "Single section item" 0043 iconSource: "anchor" 0044 } 0045 0046 Maui.SectionItem 0047 { 0048 label1.text: "Hello this is a two line section item" 0049 label2.text : "Subtitle text" 0050 0051 TextArea 0052 { 0053 Layout.fillWidth: true 0054 } 0055 } 0056 } 0057 } 0058 } 0059 } 0060