plasma-framework/examples/applets/testshaders/contents/ui/ShaderExample.qml

48 lines
1.0 KiB
QML

/*
SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// VertexPage
PlasmaComponents.Page {
id: examplesPage
//property string shader
property string pageName: "Shader Examples"
property string pageDescription: "Shader Examples"
property string icon: "weather-clear"
anchors {
fill: parent
margins: _s
}
PlasmaExtras.Heading {
id: heading
level: 1
anchors {
top: parent.top;
left: parent.left
right: parent.right
}
text: pageName
}
PlasmaComponents.Label {
anchors {
top: heading.bottom;
left: parent.left;
right: parent.right;
}
text: pageDescription
}
}