MauiKit Controls
21import QtQuick.Controls 2.10
22import QtQuick.Layouts 1.3
24import org.mauikit.controls 1.2 as Maui
25import org.kde.purpose 1.0 as Purpose
37 property var urls : []
42 property string mimeType
51 headBar.leftContent: ToolButton
53 visible: _purpose.depth>1;
54 icon.name:
"go-previous"
58 _purpose.error =
false
65 property bool error :
false
66 Layout.fillWidth:
true
67 Layout.fillHeight:
true
68 Layout.margins: Maui.Style.space.medium
71 spacing: Maui.Style.defaultSpacing
76 'mimeType':control.mimeType
79 delegate: Maui.ListBrowserDelegate
81 width: ListView.view.width
83 label1.text: model.display
84 iconSource: model.iconName
85 iconSizeHint: Maui.Style.iconSizes.big
86 onClicked: _purpose.createJob(index)
89 onFinished: (output,
error, message) =>
94 _holder.body = message
98 _purpose.error =
false
105 visible: _purpose.error
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.