/* * SPDX-FileCopyrightText: 2022 Aleix Pol Gonzalez * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ import QtQuick import QtQuick.Layouts import org.kde.discover as Discover import org.kde.kirigami as Kirigami import org.kde.kirigami.delegates as KD ColumnLayout { id: root required property Discover.AbstractResource resource Discover.Activatable.active: true spacing: Kirigami.Units.smallSpacing Kirigami.Heading { Layout.fillWidth: true text: i18ndc("libdiscover", "Permission to access system resources and hardware devices", "Permissions") level: 2 type: Kirigami.Heading.Type.Primary wrapMode: Text.Wrap } KD.SubtitleDelegate { Layout.fillWidth: true text: i18nd("libdiscover","Full Access") subtitle: i18nd("libdiscover", "Can access everything on the system") icon.name: "security-medium" // so that it gets neither hover nor pressed appearance hoverEnabled: false down: false } }