Warning, /maui/mauikit/examples/ListBrowser.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         anchors.fill: parent
0014         Maui.Controls.showCSD: true
0015         headBar.forceCenterMiddleContent: true
0016 
0017         Maui.ListBrowser
0018         {
0019             anchors.fill: parent
0020             model: 60
0021 
0022             enableLassoSelection: true
0023             onItemsSelected: (indexes) => console.log(indexes)
0024 
0025             delegate: Maui.ListBrowserDelegate
0026             {
0027                 width: ListView.view.width
0028                 label1.text: "An example delegate."
0029                 label2.text: "Using the MauiKit ListBrowser."
0030 
0031                 iconSource: "folder"
0032             }
0033         }
0034     }
0035 }
0036