Fix a few errors in the testplasmoids
This commit is contained in:
parent
5e3723cd7c
commit
395bb412eb
@ -47,7 +47,8 @@ PlasmaComponents.Page {
|
|||||||
ShaderEffectSource {
|
ShaderEffectSource {
|
||||||
id: effectSource
|
id: effectSource
|
||||||
sourceItem: imageItem
|
sourceItem: imageItem
|
||||||
hideSource: hideSourceCheckbox.checked
|
//hideSource: hideSourceCheckbox.checked
|
||||||
|
hideSource: true
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderEffect {
|
ShaderEffect {
|
||||||
|
@ -64,8 +64,10 @@ ShaderExample {
|
|||||||
maximumValue: 6000
|
maximumValue: 6000
|
||||||
value: 3000
|
value: 3000
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
timeAnimation.duration = maximumValue - value +1;
|
if (timeAnimation != null) {
|
||||||
timeAnimation.restart();
|
timeAnimation.duration = maximumValue - value +1;
|
||||||
|
timeAnimation.restart();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -95,8 +97,8 @@ ShaderExample {
|
|||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
id: iconItem
|
id: iconItem
|
||||||
source: "plasma"
|
source: "plasma"
|
||||||
width: parent.width
|
width: 400
|
||||||
height: parent.height
|
height: 400
|
||||||
// width: parent.height
|
// width: parent.height
|
||||||
// height: width
|
// height: width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
@ -30,6 +30,7 @@ Item {
|
|||||||
|
|
||||||
property int _s: theme.iconSizes.small
|
property int _s: theme.iconSizes.small
|
||||||
property int _h: theme.iconSizes.desktop
|
property int _h: theme.iconSizes.desktop
|
||||||
|
property int _m: 12
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: mainItem
|
id: mainItem
|
||||||
@ -67,9 +68,9 @@ Item {
|
|||||||
WobbleExample {
|
WobbleExample {
|
||||||
id: wobbleExample
|
id: wobbleExample
|
||||||
}
|
}
|
||||||
ColorExample {
|
// ColorExample {
|
||||||
id: colorExample
|
// id: colorExample
|
||||||
}
|
// }
|
||||||
Shadows {
|
Shadows {
|
||||||
id: shadowExample
|
id: shadowExample
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user