Warning, /plasma/plasma-sdk/themeexplorer/package/contents/ui/delegates/containment-controls.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.0 0008 import QtQuick.Layouts 1.1 0009 0010 import org.kde.ksvg 1.0 as KSvg 0011 import org.kde.plasma.components 3.0 as PlasmaComponents 0012 import org.kde.kirigami 2.20 as Kirigami 0013 0014 Item { 0015 Rectangle { 0016 id: background 0017 anchors { 0018 fill: parent 0019 margins: Kirigami.Units.gridUnit 0020 } 0021 radius: 3 0022 color: Kirigami.Theme.backgroundColor 0023 opacity: 0.6 0024 } 0025 KSvg.FrameSvgItem { 0026 anchors { 0027 left: background.left 0028 right: background.right 0029 verticalCenter: background.verticalCenter 0030 } 0031 height: maxSlider.height + minSlider.height 0032 imagePath: "widgets/containment-controls" 0033 prefix: "south" 0034 KSvg.SvgItem { 0035 anchors { 0036 top: parent.top 0037 horizontalCenter: parent.horizontalCenter 0038 } 0039 imagePath: "widgets/containment-controls" 0040 elementId: "south-offsetslider" 0041 } 0042 KSvg.SvgItem { 0043 id: maxSlider 0044 anchors { 0045 top: parent.top 0046 right: parent.right 0047 } 0048 imagePath: "widgets/containment-controls" 0049 elementId: "south-maxslider" 0050 } 0051 KSvg.SvgItem { 0052 id: minSlider 0053 anchors { 0054 bottom: parent.bottom 0055 right: parent.right 0056 } 0057 imagePath: "widgets/containment-controls" 0058 elementId: "south-minslider" 0059 } 0060 KSvg.SvgItem { 0061 anchors { 0062 top: parent.top 0063 left: parent.left 0064 } 0065 imagePath: "widgets/containment-controls" 0066 elementId: "south-minslider" 0067 } 0068 KSvg.SvgItem { 0069 anchors { 0070 bottom: parent.bottom 0071 left: parent.left 0072 } 0073 imagePath: "widgets/containment-controls" 0074 elementId: "south-maxslider" 0075 } 0076 } 0077 0078 PlasmaComponents.Label { 0079 anchors { 0080 horizontalCenter: background.horizontalCenter 0081 bottom: background.bottom 0082 } 0083 text: model.imagePath 0084 visible: width < background.width 0085 } 0086 }