clean up the random items
This commit is contained in:
parent
e26434648a
commit
cd162effba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user