Warning, /maui/mauikit/examples/PageLayout.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.PageLayout 0011 { 0012 id: _page 0013 0014 anchors.fill: parent 0015 Maui.Controls.showCSD: true 0016 0017 split: width < 600 0018 leftContent: [Switch 0019 { 0020 text: "Hello" 0021 }, 0022 0023 Button 0024 { 0025 text: "Button" 0026 } 0027 ] 0028 0029 rightContent: Rectangle 0030 { 0031 height: 40 0032 implicitWidth: 60 0033 color: "gray" 0034 } 0035 0036 middleContent: Rectangle 0037 { 0038 implicitHeight: 40 0039 implicitWidth: 60 0040 Layout.alignment: Qt.AlignHCenter 0041 Layout.fillWidth: _page.split 0042 color: "yellow" 0043 } 0044 } 0045 } 0046