Warning, /plasma/plasma-sdk/themeexplorer/package/contents/ui/delegates/actionbutton.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.plasma.components 3.0 as PlasmaComponents 0011 import org.kde.kirigami 2.20 as Kirigami 0012 0013 Item { 0014 Rectangle { 0015 id: background 0016 anchors { 0017 fill: parent 0018 margins: Kirigami.Units.gridUnit 0019 } 0020 radius: 3 0021 color: Kirigami.Theme.backgroundColor 0022 opacity: 0.6 0023 } 0024 0025 Item { 0026 anchors.fill: background 0027 clip: true 0028 Column { 0029 anchors.centerIn: background 0030 PlasmaComponents.ToolButton { 0031 flat: false 0032 iconSource: "window-close" 0033 } 0034 PlasmaComponents.RadioButton { 0035 text: i18n("Option") 0036 checked: true 0037 } 0038 PlasmaComponents.RadioButton { 0039 text: i18n("Option") 0040 checked: false 0041 } 0042 PlasmaComponents.Label { 0043 anchors.horizontalCenter: parent.horizontalCenter 0044 text: model.imagePath 0045 visible: width < background.width 0046 } 0047 } 0048 } 0049 }