Warning, /maui/mauikit/examples/SwipeBrowserDelegate.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 
0015         Maui.Controls.showCSD: true
0016 
0017         Column
0018         {
0019             anchors.centerIn: parent
0020 
0021             width: Math.min(parent.width*0.9, 600)
0022 
0023             Maui.SwipeBrowserDelegate
0024             {
0025                 width: parent.width
0026                 label1.text: "A Title For This"
0027                 label2.text: "Subtitle text with more info"
0028 
0029                 quickActions: [
0030                 Action
0031                     {
0032                         icon.name: "list-add"
0033                     },
0034 
0035                     Action
0036                     {
0037                         icon.name: "folder-new"
0038                     },
0039 
0040                     Action
0041                     {
0042                         icon.name: "anchor"
0043                     }
0044                 ]
0045 
0046                 actionRow: ToolButton
0047                 {
0048                     icon.name: "love"
0049                 }
0050             }
0051         }
0052     }
0053 }
0054