summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarko Niemelä <marko.a.niemela@nokia.com>2012-01-04 16:42:44 +0200
committerMarko Niemelä <marko.a.niemela@nokia.com>2012-01-04 16:42:44 +0200
commitc626c00c47752be9602f64450b61a325eb0696a9 (patch)
tree7341cd93df086e63e54352e6d12f09fd21259ae9 /tools
parentc85541dce322f21bb71353efa5a2ab31a0ec175f (diff)
downloadqtgraphicaleffects-c626c00c47752be9602f64450b61a325eb0696a9.tar.gz
Combined DropShadow and FastDropShadow effects
Diffstat (limited to 'tools')
-rw-r--r--tools/pngdumper/ItemModel.qml67
1 files changed, 9 insertions, 58 deletions
diff --git a/tools/pngdumper/ItemModel.qml b/tools/pngdumper/ItemModel.qml
index dcf707f..5399cd3 100644
--- a/tools/pngdumper/ItemModel.qml
+++ b/tools/pngdumper/ItemModel.qml
@@ -238,70 +238,19 @@ VisualItemModel {
property string __varyingProperty: "spread"
property variant __values: ["0.0", "0.5", "1.0"]
}
-
- FastDropShadow {
- function init() { checkerboard = true }
-
- width: size
- height: size
- source: butterfly
- //horizontalOffset: 3
- verticalOffset: 20
- blur: 0.5
- property string __name: "FastDropShadow"
- property variant __properties: ["blur", "color", "horizontalOffset", "verticalOffset", "spread"]
- property string __varyingProperty: "color"
- property variant __values: ["#000000", "#0000ff", "#aa000000"]
-
- function uninit() { checkerboard = false }
- }
- FastDropShadow {
- width: size
- height: size
- source: butterfly
- //verticalOffset: 3
- blur: 0.5
- property string __name: "FastDropShadow"
- property variant __properties: ["blur", "color", "horizontalOffset", "verticalOffset", "spread"]
- property string __varyingProperty: "horizontalOffset"
- property variant __values: [-20, 0, 20]
- }
- FastDropShadow {
- width: size
- height: size
- source: butterfly
- //horizontalOffset: 3
- blur: 0.5
- property string __name: "FastDropShadow"
- property variant __properties: ["blur", "color", "horizontalOffset", "verticalOffset", "spread"]
- property string __varyingProperty: "verticalOffset"
- property variant __values: [-20, 0, 20]
- }
- FastDropShadow {
- width: size
- height: size
- source: butterfly
- //horizontalOffset: 3
- verticalOffset: 20
- blur: 0.5
- property string __name: "FastDropShadow"
- property variant __properties: ["blur", "color", "horizontalOffset", "verticalOffset", "spread"]
- property string __varyingProperty: "spread"
- property variant __values: ["0.0", "0.5", "0.8"]
- }
- FastDropShadow {
+ DropShadow {
width: size
height: size
source: butterfly
//horizontalOffset: 3
verticalOffset: 20
- blur: 0.5
- property string __name: "FastDropShadow"
- property variant __properties: ["blur", "color", "horizontalOffset", "verticalOffset", "spread"]
- property string __varyingProperty: "blur"
- property variant __values: ["0.0", "0.5", "0.8"]
+ radius: 16
+ maximumRadius: 16
+ property string __name: "DropShadow"
+ property variant __properties: ["radius", "maximumRadius", "color", "horizontalOffset", "verticalOffset", "spread", "fast"]
+ property string __varyingProperty: "fast"
+ property variant __values: [false, true]
}
-
Glow {
function init() { background = "black" }
@@ -348,6 +297,8 @@ VisualItemModel {
property variant __properties: ["radius", "maximumRadius", "color", "spread", "fast"]
property string __varyingProperty: "fast"
property variant __values: [false, true]
+
+ function uninit() { butterfly.visible = false }
}
FastBlur {