Warning, /pim/kidentitymanagement/src/quick/qml/IdentityConfigurationForm.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2023 Claudio Cambra <claudio.cambra@kde.org> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 import QtQuick 2.15 0005 import QtQuick.Layouts 1.15 0006 import QtQuick.Controls 2.15 as QQC2 0007 0008 import org.kde.kirigami 2.20 as Kirigami 0009 import org.kde.kirigamiaddons.formcard 1.0 as FormCard 0010 import org.kde.kidentitymanagement 1.0 0011 0012 FormCard.FormCard { 0013 id: root 0014 0015 readonly property IdentityModel _identityModel: IdentityModel {} 0016 property var cryptographyEditorBackend: CryptographyEditorBackend {} 0017 0018 Repeater { 0019 id: identityRepeater 0020 0021 model: root._identityModel 0022 0023 delegate: FormCard.FormButtonDelegate { 0024 leadingPadding: Kirigami.Units.largeSpacing 0025 text: model.display 0026 onClicked: { 0027 pageStack.pushDialogLayer(Qt.resolvedUrl("IdentityEditorPage.qml"), { 0028 mode: IdentityEditorBackend.EditMode, 0029 identityUoid: model.uoid, 0030 allowDelete: identityRepeater.count > 1, 0031 identityName: model.display, 0032 cryptographyEditorBackend: root.cryptographyEditorBackend 0033 }, {title: i18nc("@title", "Edit Identity")}); 0034 } 0035 } 0036 } 0037 }