Warning, /maui/mauikit/src/controls.5/SectionGroup.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick.Layouts 1.3 0002 import QtQuick 2.14 0003 import QtQuick.Controls 2.15 0004 0005 import org.mauikit.controls 1.3 as Maui 0006 0007 /*! 0008 * \since org.mauikit.controls.labs 1.0 0009 * \inqmlmodule org.mauikit.controls.labs 0010 */ 0011 Pane 0012 { 0013 id: control 0014 0015 /** 0016 * 0017 */ 0018 default property alias content : _layout.data 0019 0020 /** 0021 * 0022 */ 0023 property string title 0024 0025 /** 0026 * 0027 */ 0028 property string description 0029 0030 /** 0031 * 0032 */ 0033 property alias template: _template 0034 0035 /** 0036 * 0037 */ 0038 spacing: Maui.Style.defaultSpacing 0039 0040 Layout.fillWidth: true 0041 padding: Maui.Style.contentMargins 0042 0043 implicitHeight: implicitContentHeight + topPadding + bottomPadding 0044 0045 background: null 0046 0047 contentItem: ColumnLayout 0048 { 0049 id: _layout 0050 spacing: control.spacing 0051 0052 Maui.SectionHeader 0053 { 0054 id: _template 0055 Layout.fillWidth: true 0056 label1.font: Maui.Style.defaultFont 0057 label1.text: control.title 0058 label2.text: control.description 0059 label1.opacity: 0.7 0060 label2.opacity: 0.7 0061 template.iconSizeHint: Maui.Style.iconSizes.medium 0062 } 0063 } 0064 }