Warning, /plasma/xdg-desktop-portal-kde/src/RemoteDesktopDialog.qml is written in an unsupported language. File is not indexed.
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Layouts 0009 import QtQuick.Controls as QQC2 0010 import org.kde.plasma.workspace.dialogs as PWD 0011 0012 PWD.SystemDialog { 0013 id: root 0014 0015 property alias description: desc.text 0016 property alias allowRestore: allowRestoreItem.checked 0017 0018 iconName: "krfb" 0019 0020 ColumnLayout { 0021 QQC2.Label { 0022 id: desc 0023 textFormat: Text.MarkdownText 0024 Layout.fillHeight: true 0025 } 0026 QQC2.CheckBox { 0027 id: allowRestoreItem 0028 checked: true 0029 text: i18n("Allow restoring on future sessions") 0030 } 0031 } 0032 0033 standardButtons: QQC2.DialogButtonBox.Ok | QQC2.DialogButtonBox.Cancel 0034 0035 Component.onCompleted: { 0036 dialogButtonBox.standardButton(QQC2.DialogButtonBox.Ok).text = i18n("Share") 0037 } 0038 }