diff options
Diffstat (limited to 'examples/quick/multieffect/itemswitcher')
5 files changed, 34 insertions, 34 deletions
diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffect3DFlip.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffect3DFlip.qml index a5a18b0b8d..bb33b8c6b6 100644 --- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffect3DFlip.qml +++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffect3DFlip.qml @@ -29,10 +29,10 @@ Item { source: "images/smoke.png" visible: false } - maskThresholdLow: switcher.inAnimation * 0.6 - maskSpreadLow: 0.1 - maskThresholdUp: 1.0 - (switcher.inAnimation * 0.6) - maskSpreadUp: 0.1 + maskThresholdMin: switcher.inAnimation * 0.6 + maskSpreadAtMin: 0.1 + maskThresholdMax: 1.0 - (switcher.inAnimation * 0.6) + maskSpreadAtMax: 0.1 shadowEnabled: true shadowOpacity: 0.5 @@ -69,10 +69,10 @@ Item { source: "images/smoke.png" visible: false } - maskThresholdLow: switcher.outAnimation * 0.6 - maskSpreadLow: 0.1 - maskThresholdUp: 1.0 - (switcher.outAnimation * 0.6) - maskSpreadUp: 0.1 + maskThresholdMin: switcher.outAnimation * 0.6 + maskSpreadAtMin: 0.1 + maskThresholdMax: 1.0 - (switcher.outAnimation * 0.6) + maskSpreadAtMax: 0.1 shadowEnabled: true shadowOpacity: 0.5 diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectBlinds.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectBlinds.qml index 3a9f22e3ad..8849631be9 100644 --- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectBlinds.qml +++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectBlinds.qml @@ -34,8 +34,8 @@ Item { anchors.fill: parent maskEnabled: true maskSource: mask - maskThresholdLow: switcher.inAnimation - maskSpreadLow: 0.4 + maskThresholdMin: switcher.inAnimation + maskSpreadAtMin: 0.4 } // Item coming in MultiEffect { @@ -43,7 +43,7 @@ Item { anchors.fill: parent maskEnabled: true maskSource: mask - maskThresholdUp: switcher.inAnimation - maskSpreadUp: 0.4 + maskThresholdMax: switcher.inAnimation + maskSpreadAtMax: 0.4 } } diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml index e81c648e2c..e80c54460c 100644 --- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml +++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml @@ -31,8 +31,8 @@ Item { maskEnabled: true maskSource: mask maskInverted: true - maskThresholdLow: 0.5 - maskSpreadLow: 0.0 + maskThresholdMin: 0.5 + maskSpreadAtMin: 0.0 } // Item coming in MultiEffect { @@ -40,9 +40,9 @@ Item { anchors.fill: parent maskEnabled: true maskSource: mask - maskThresholdLow: 0.5 - maskSpreadLow: 0.0 - colorizeColor: "red" - colorize: Math.max(0, 1.0 - switcher.inAnimation * 2) + maskThresholdMin: 0.5 + maskSpreadAtMin: 0.0 + colorizationColor: "red" + colorization: Math.max(0, 1.0 - switcher.inAnimation * 2) } } diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectStars.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectStars.qml index 47bdf3f64d..c533572e66 100644 --- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectStars.qml +++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectStars.qml @@ -32,8 +32,8 @@ Item { maskEnabled: true maskSource: mask maskInverted: true - maskThresholdLow: 0.5 - maskSpreadLow: 0.5 + maskThresholdMin: 0.5 + maskSpreadAtMin: 0.5 } // Item coming in MultiEffect { @@ -41,10 +41,10 @@ Item { anchors.fill: parent maskEnabled: true maskSource: mask - maskThresholdLow: 0.5 - maskSpreadLow: 0.5 - colorizeColor: "#ffd020" - colorize: Math.max(0, 1.0 - switcher.inAnimation * 2) + maskThresholdMin: 0.5 + maskSpreadAtMin: 0.5 + colorizationColor: "#ffd020" + colorization: Math.max(0, 1.0 - switcher.inAnimation * 2) brightness: Math.max(0.0, 0.8 - switcher.inAnimation * 2) } } diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectThunder.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectThunder.qml index ba26675dd7..80a6e9bf8f 100644 --- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectThunder.qml +++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectThunder.qml @@ -31,17 +31,17 @@ Item { blurMax: 32 blurMultiplier: 0.5 opacity: switcher.outAnimation - colorizeColor: "#f0d060" - colorize: switcher.inAnimation + colorizationColor: "#f0d060" + colorization: switcher.inAnimation contrast: switcher.inAnimation brightness: switcher.inAnimation maskEnabled: true maskSource: maskImage - maskThresholdLow: switcher.inAnimation * 0.9 - maskSpreadLow: 0.2 - maskThresholdUp: 1.0 + maskThresholdMin: switcher.inAnimation * 0.9 + maskSpreadAtMin: 0.2 + maskThresholdMax: 1.0 shadowEnabled: true shadowColor: "#f04000" @@ -64,16 +64,16 @@ Item { blurMultiplier: 0.5 opacity: switcher.inAnimation * 3.0 - 1.0 - colorizeColor: "#f0d060" - colorize: switcher.outAnimation + colorizationColor: "#f0d060" + colorization: switcher.outAnimation contrast: switcher.outAnimation brightness: switcher.outAnimation maskEnabled: true maskSource: maskImage - maskThresholdLow: switcher.outAnimation * 0.6 - maskSpreadLow: 0.2 - maskThresholdUp: 1.0 + maskThresholdMin: switcher.outAnimation * 0.6 + maskSpreadAtMin: 0.2 + maskThresholdMax: 1.0 shadowEnabled: true shadowColor: "#f04000" |