Warning, /maui/mauikit/demo.6/src/controls/ListBrowserPage.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 0002 import QtQuick.Controls 0003 import QtQuick.Layouts 0004 0005 import org.mauikit.controls as Maui 0006 0007 DemoPage 0008 { 0009 id: control 0010 title: i18n("ListBrowser") 0011 0012 Maui.SectionGroup 0013 { 0014 title: control.title 0015 spacing: control.spacing 0016 0017 DemoSection 0018 { 0019 title: i18n("ListBrowser") 0020 0021 column: Pane 0022 { 0023 Layout.fillWidth: true 0024 implicitHeight: 500 0025 0026 contentItem: Maui.ListBrowser 0027 { 0028 model: 40 0029 clip: true 0030 enableLassoSelection: true 0031 delegate: Maui.ListBrowserDelegate 0032 { 0033 width: ListView.view.width 0034 label1.text: i18n("Title %1", modelData) 0035 label2.text: "Subtitle" 0036 label3.text: "+300" 0037 label4.text: "Info" 0038 iconSource: "folder-music" 0039 } 0040 } 0041 } 0042 } 0043 0044 DemoSection 0045 { 0046 title: i18n("Holder") 0047 0048 column: Pane 0049 { 0050 Layout.fillWidth: true 0051 implicitHeight: 500 0052 padding: 100 0053 0054 background :MouseArea 0055 { 0056 preventStealing: true 0057 onClicked: console.log("Fuck") 0058 0059 Rectangle 0060 { 0061 anchors.fill: parent 0062 color: "blue" 0063 } 0064 } 0065 0066 contentItem: ScrollView 0067 { 0068 ListView 0069 { 0070 model: 400 0071 clip: true 0072 interactive: false 0073 reuseItems: true 0074 spacing: Maui.Style.space.big 0075 delegate: ItemDelegate 0076 { 0077 width: ListView.view.width 0078 text: "title" 0079 0080 icon.name: "folder-music" 0081 } 0082 } 0083 } 0084 } 0085 } 0086 } 0087 }