clean up the random items

This commit is contained in:
Sebastian Kügler 2013-02-14 04:09:23 +01:00
parent e26434648a
commit cd162effba

View File

@ -20,7 +20,6 @@ import QtQuick 2.0
import org.kde.plasma.core 0.1 as PlasmaCore import org.kde.plasma.core 0.1 as PlasmaCore
import org.kde.plasma.components 0.1 as PlasmaComponents import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.qtextracomponents 0.1 as QtExtras
Rectangle { Rectangle {
id: root id: root
@ -43,11 +42,6 @@ Rectangle {
} }
} }
PlasmaCore.Svg {
id: actionssvg
imagePath: "widgets/configuration-icons"
}
Component { Component {
id: appletContainerComponent id: appletContainerComponent
PlasmaCore.FrameSvgItem { PlasmaCore.FrameSvgItem {
@ -103,18 +97,7 @@ Rectangle {
bottomMargin: parent.margins.bottom 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 { PlasmaComponents.BusyIndicator {
z: 1000 z: 1000
visible: applet.length > 0 && applet[0].busy 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: { Component.onCompleted: {
print("Test Containment loaded") print("Test Containment loaded")
print(plasmoid) print(plasmoid)