diff --git a/shell/testapplet/contents/ui/main.qml b/shell/testapplet/contents/ui/main.qml index 9e3c0a3a6..811632899 100644 --- a/shell/testapplet/contents/ui/main.qml +++ b/shell/testapplet/contents/ui/main.qml @@ -45,6 +45,13 @@ Rectangle { } } } + PlasmaComponents.Button { + text: "Busy" + checked: plasmoid.busy + onClicked: { + plasmoid.busy = !plasmoid.busy + } + } } Component.onCompleted: { print("Test Applet loaded") diff --git a/shell/testcontainment/contents/ui/main.qml b/shell/testcontainment/contents/ui/main.qml index 05ee845bc..349669a89 100644 --- a/shell/testcontainment/contents/ui/main.qml +++ b/shell/testcontainment/contents/ui/main.qml @@ -19,6 +19,7 @@ import QtQuick 2.0 import org.kde.plasma.core 0.1 as PlasmaCore +import org.kde.plasma.components 0.1 as PlasmaComponents Rectangle { id: root @@ -94,6 +95,12 @@ Rectangle { } //Rectangle { color: "white"; opacity: 0.2; anchors.fill: parent; } } + PlasmaComponents.BusyIndicator { + z: 1000 + visible: applet[0].busy + running: visible + anchors.centerIn: parent + } } }