Warning, /plasma/plasma-mobile/components/mobileshell/qml/volumeosd/PopupCard.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Devin Lin <espidev@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Controls as Controls 0009 import QtQuick.Layouts 0010 import QtQuick.Window 0011 0012 import org.kde.kirigami 2.20 as Kirigami 0013 import org.kde.ksvg 1.0 as KSvg 0014 import org.kde.plasma.components 3.0 as PlasmaComponents 0015 0016 // capture presses on the audio applet so it doesn't close the overlay 0017 Controls.Control { 0018 id: content 0019 implicitWidth: Math.min(Kirigami.Units.gridUnit * 20, parent.width - Kirigami.Units.gridUnit * 2) 0020 padding: Kirigami.Units.smallSpacing * 2 0021 background: KSvg.FrameSvgItem { 0022 imagePath: "widgets/background" 0023 anchors.margins: -Kirigami.Units.smallSpacing * 2 0024 anchors.fill: parent 0025 } 0026 }