Warning, /plasma/plasma-sdk/themeexplorer/package/contents/ui/delegates/checkmarks.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.CheckBox {
0031 text: i18n("Option")
0032 checked: true
0033 }
0034 PlasmaComponents.CheckBox {
0035 text: i18n("Option")
0036 checked: false
0037 }
0038 PlasmaComponents.RadioButton {
0039 text: i18n("Option")
0040 checked: true
0041 }
0042 PlasmaComponents.RadioButton {
0043 text: i18n("Option")
0044 checked: false
0045 }
0046 PlasmaComponents.Label {
0047 anchors.horizontalCenter: parent.horizontalCenter
0048 text: model.imagePath
0049 visible: width < background.width
0050 }
0051 }
0052 }
0053 }