diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-07-18 13:53:40 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 01:51:19 +0200 |
commit | 3912bbaceab166eb116447311eb16453e4f26edf (patch) | |
tree | b44561b4fbded41d7011e79c3d9a5411a1de438c /examples/particles | |
parent | c2f2ae8ce90e621cc3835428c40c116fbdc593e6 (diff) |
Update usage of smooth and antialiasing.
Change-Id: Icc8b28bdd466389ed3f269f076f1bdb6e9abe3f2
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/particles')
4 files changed, 4 insertions, 5 deletions
diff --git a/examples/particles/affectors/content/spritegoal.qml b/examples/particles/affectors/content/spritegoal.qml index 0e5d94c515..b45807f394 100644 --- a/examples/particles/affectors/content/spritegoal.qml +++ b/examples/particles/affectors/content/spritegoal.qml @@ -55,7 +55,6 @@ Item { source: "../../images/finalfrontier.png" transformOrigin: Item.Center anchors.centerIn: parent - smooth: true NumberAnimation on rotation { from: 0 to: 360 @@ -137,7 +136,6 @@ Item { Image { id: rocketShip source: "../../images/rocket.png" - smooth: true anchors.centerIn: holder rotation: (circle.percent+0.25) * 360 z: 2 diff --git a/examples/particles/customparticle/content/blurparticles.qml b/examples/particles/customparticle/content/blurparticles.qml index c1ad03b04b..3d08dfc277 100644 --- a/examples/particles/customparticle/content/blurparticles.qml +++ b/examples/particles/customparticle/content/blurparticles.qml @@ -87,13 +87,11 @@ Rectangle { //! [vertex] property variant source: theSource property variant blurred: ShaderEffectSource { - smooth: true sourceItem: ShaderEffect { width: theItem.width height: theItem.height property variant delta: Qt.size(0.0, 1.0 / height) property variant source: ShaderEffectSource { - smooth: true sourceItem: ShaderEffect { width: theItem.width height: theItem.height diff --git a/examples/particles/itemparticle/content/ExpandingDelegate.qml b/examples/particles/itemparticle/content/ExpandingDelegate.qml index 87f723d3f7..ab565f7bf8 100644 --- a/examples/particles/itemparticle/content/ExpandingDelegate.qml +++ b/examples/particles/itemparticle/content/ExpandingDelegate.qml @@ -68,6 +68,7 @@ import "../../../modelviews/listview/content" color: "ivory" border.color: "orange" radius: 5 + antialiasing: true } Image { anchors.fill:parent diff --git a/examples/particles/itemparticle/particleview.qml b/examples/particles/itemparticle/particleview.qml index 1679c01337..94b7899ca0 100644 --- a/examples/particles/itemparticle/particleview.qml +++ b/examples/particles/itemparticle/particleview.qml @@ -200,6 +200,7 @@ Item { Rectangle { id: container border.width: 2 + antialiasing: true property real myRand: Math.random();//'depth' z: Math.floor(myRand * 100) scale: (myRand + 1.0)/2; @@ -221,7 +222,8 @@ Item { Image { id: img anchors.centerIn: parent - smooth: true; source: "http://" + Script.getImagePath(content); cache: true + antialiasing: true; + source: "http://" + Script.getImagePath(content); cache: true fillMode: Image.PreserveAspectFit; width: parent.width-4; height: parent.height-4 onStatusChanged: if (img.status == Image.Ready) { |