8pragma ComponentBehavior: Bound
11import QtQuick.Controls as QQC2
14import org.kde.kirigami as Kirigami
15import org.kde.purpose as Purpose
16import org.kde.purpose.private.widgets as PurposeWidgets
18QQC2.ApplicationWindow {
22 title: i18n("Send File")
25 width: Math.max(screen.width / 6,
Kirigami.
Units.gridUnit * 16)
26 height: Math.max(screen.height / 4,
Kirigami.
Units.gridUnit * 20)
31 property PurposeWidgets.
Menu menu
32 property Purpose.PurposeAlternativesModel model
35 function
start(): void {
49 case Purpose.PurposeJobController.Finished:
50 case Purpose.PurposeJobController.Error:
51 console.log(job.errorString);
52 window.menu.finished(job.output, job.error, job.errorString);
55 case Purpose.PurposeJobController.Cancelled:
56 window.menu.finished({}, 1 ,
i18nd(
"libpurpose6_widgets",
"Configuration cancelled"));
Q_SCRIPTABLE Q_NOREPLY void start()
QString i18nd(const char *domain, const char *text, const TYPE &arg...)
KGUIADDONS_EXPORT QWindow * window(QObject *job)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.