Debian Codegraph @

examples/Image Colors/components/Section.qml

raw
1 /*
2 * SPDX-FileCopyrightText: 2024 ivan tkachenko <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 pragma ComponentBehavior: Bound
8
9 import QtQuick
10 import QtQuick.Layouts
11 import org.kde.kirigami as Kirigami
12
13 ColumnLayout {
14 id: root
15
16 property string title
17
18 spacing: 0
19 Layout.fillWidth: true
20
21 Kirigami.Heading {
22 Layout.fillWidth: true
23 level: 3
24 text: root.title
25 horizontalAlignment: Text.AlignHCenter
26 wrapMode: Text.WordWrap
27 }
28
29 Kirigami.Separator {
30 Layout.fillWidth: true
31 Layout.topMargin: Kirigami.Units.smallSpacing
32 Layout.bottomMargin: Kirigami.Units.largeSpacing
33 }
34 }