Warning, /maui/mauikit/examples/FileListingDialog.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 0014 anchors.fill: parent 0015 Maui.Controls.showCSD: true 0016 Maui.Theme.colorSet: Maui.Theme.Window 0017 headBar.forceCenterMiddleContent: true 0018 0019 Button 0020 { 0021 anchors.centerIn: parent 0022 text: "Files!" 0023 onClicked: _dialog.open() 0024 } 0025 } 0026 0027 Maui.FileListingDialog 0028 { 0029 id: _dialog 0030 title: "File Listing" 0031 message: "This is a file listing dialog. Used to list files and suggest to perfom an action upon them." 0032 0033 urls: ["/home/camiloh/Downloads/premium_photo-1664203068007-52240d0ca48f.avif", "/home/camiloh/Downloads/ide_4x.webp", "/home/camiloh/Downloads/photo-app-fereshtehpb.webp", "/home/camiloh/Downloads/ide-reskin.webp", "/home/camiloh/Downloads/nx-software-center-latest-x86_64.AppImage", "/home/camiloh/Downloads/hand-drawn-flat-design-metaverse-background.zip"] 0034 0035 actions: [ 0036 Action 0037 { 0038 text: "Action1" 0039 }, 0040 0041 Action 0042 { 0043 text: "Action2" 0044 }, 0045 0046 Action 0047 { 0048 text: "Action3" 0049 } 0050 ] 0051 } 0052 } 0053