Warning, /plasma/libplasma/examples/applets/testshaders/contents/ui/main.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Layouts 0009 0010 import org.kde.plasma.components as PlasmaComponents 0011 import org.kde.kirigami as Kirigami 0012 0013 Item { 0014 id: root 0015 width: 400 0016 height: 400 0017 0018 Layout.minimumWidth: Kirigami.Units.gridUnit * 20 0019 Layout.minimumHeight: Kirigami.Units.gridUnit * 30 0020 property int _s: Kirigami.Units.iconSizes.small 0021 property int _h: Kirigami.Units.iconSizes.desktop 0022 property int _m: 12 0023 0024 Item { 0025 id: mainItem 0026 anchors.fill: parent 0027 0028 PlasmaComponents.TabBar { 0029 id: tabBar 0030 0031 anchors { 0032 left: parent.left 0033 right: parent.right 0034 top: parent.top 0035 } 0036 height: Kirigami.Units.iconSizes.toolbar * 1.5 0037 0038 PlasmaComponents.TabButton { tab: colorShower; text: tab.pageName; } 0039 PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; } 0040 PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; } 0041 PlasmaComponents.TabButton { tab: simpleExample; text: tab.pageName; } 0042 //PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; } 0043 } 0044 0045 PlasmaComponents.TabGroup { 0046 id: tabGroup 0047 anchors { 0048 left: parent.left 0049 right: parent.right 0050 top: tabBar.bottom 0051 bottom: parent.bottom 0052 } 0053 0054 ColorShower { 0055 id: colorShower 0056 } 0057 WobbleExample { 0058 id: wobbleExample 0059 } 0060 // ColorExample { 0061 // id: colorExample 0062 // } 0063 Shadows { 0064 id: shadowExample 0065 } 0066 SimpleExample { 0067 id: simpleExample 0068 } 0069 // EditorPage { 0070 // id: vertexPage 0071 // } 0072 } 0073 } 0074 0075 Component.onCompleted: { 0076 print("Shader Test Applet loaded"); 0077 } 0078 }