From cd162effba94cde849e41172630f0876ca2adf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 14 Feb 2013 04:09:23 +0100 Subject: [PATCH] clean up the random items --- shell/testcontainment/contents/ui/main.qml | 50 +--------------------- 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/shell/testcontainment/contents/ui/main.qml b/shell/testcontainment/contents/ui/main.qml index cca131932..0535426ea 100644 --- a/shell/testcontainment/contents/ui/main.qml +++ b/shell/testcontainment/contents/ui/main.qml @@ -20,7 +20,6 @@ import QtQuick 2.0 import org.kde.plasma.core 0.1 as PlasmaCore import org.kde.plasma.components 0.1 as PlasmaComponents -import org.kde.qtextracomponents 0.1 as QtExtras Rectangle { id: root @@ -43,11 +42,6 @@ Rectangle { } } - PlasmaCore.Svg { - id: actionssvg - imagePath: "widgets/configuration-icons" - } - Component { id: appletContainerComponent PlasmaCore.FrameSvgItem { @@ -103,18 +97,7 @@ Rectangle { bottomMargin: parent.margins.bottom } } - PlasmaCore.SvgItem { - svg: actionssvg - elementId: "rotate" - width: 16 - height: width - anchors.margins: frame.margins.left - anchors { - top: parent.top - left: parent.left - } - //Rectangle { color: "white"; opacity: 0.2; anchors.fill: parent; } - } + PlasmaComponents.BusyIndicator { z: 1000 visible: applet.length > 0 && applet[0].busy @@ -124,37 +107,6 @@ Rectangle { } } - QtExtras.QIconItem { - icon: "preferences-desktop-icons" - width: 96 - height: width - MouseArea { - anchors.fill: parent - drag.target: parent - onClicked: { - var n = parent.width == 96 ? 256 : 96; - parent.width = n; - parent.height = n; - } - } - Behavior on width { PropertyAnimation { easing.type: Easing.InOutDouble; duration: 100 } } - Behavior on height { PropertyAnimation { easing.type: Easing.InOutDouble; duration: 100 } } - } - - PlasmaCore.IconItem { - source: "configure" - x: 50 - y: 350 - width: 48 - height: 48 - //Rectangle { color: "white"; opacity: 0.2; anchors.fill: parent; } - MouseArea { - anchors.fill: parent - drag.target: parent - } - - } - Component.onCompleted: { print("Test Containment loaded") print(plasmoid)