Warning, /plasma/xdg-desktop-portal-kde/src/PipeWireDelegate.qml is written in an unsupported language. File is not indexed.
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 2022 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 org.kde.kirigami as Kirigami 0010 import org.kde.pipewire 0.1 as PipeWire 0011 0012 Kirigami.Card { 0013 id: card 0014 0015 property alias nodeId: pipeWireSourceItem.nodeId 0016 0017 contentItem: PipeWire.PipeWireSourceItem { 0018 id: pipeWireSourceItem 0019 Layout.preferredHeight: Kirigami.Units.gridUnit * 7 0020 Layout.preferredWidth: Kirigami.Units.gridUnit * 7 0021 Layout.fillWidth: true 0022 Layout.fillHeight: true 0023 0024 Kirigami.Icon { 0025 anchors.fill: parent 0026 visible: pipeWireSourceItem.nodeId === 0 0027 source: card.banner.titleIcon 0028 } 0029 } 0030 0031 Layout.preferredHeight: contentItem.Layout.preferredHeight 0032 }