From 3912bbaceab166eb116447311eb16453e4f26edf Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Wed, 18 Jul 2012 13:53:40 +1000 Subject: Update usage of smooth and antialiasing. Change-Id: Icc8b28bdd466389ed3f269f076f1bdb6e9abe3f2 Reviewed-by: Yunqiao Yin Reviewed-by: Bea Lam --- examples/qml/dynamicscene/content/Button.qml | 2 +- examples/qml/dynamicscene/content/PerspectiveItem.qml | 1 - examples/qml/plugins/com/nokia/TimeExample/Clock.qml | 2 -- examples/qml/xmlhttprequest/get.qml | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) (limited to 'examples/qml') diff --git a/examples/qml/dynamicscene/content/Button.qml b/examples/qml/dynamicscene/content/Button.qml index ba7db501cc..c299f190ab 100644 --- a/examples/qml/dynamicscene/content/Button.qml +++ b/examples/qml/dynamicscene/content/Button.qml @@ -49,7 +49,7 @@ Rectangle { height: text.height + 10; width: text.width + 20 border.width: 1 radius: 4 - smooth: true + antialiasing: true gradient: Gradient { GradientStop { diff --git a/examples/qml/dynamicscene/content/PerspectiveItem.qml b/examples/qml/dynamicscene/content/PerspectiveItem.qml index f651369452..fa8646bcc2 100644 --- a/examples/qml/dynamicscene/content/PerspectiveItem.qml +++ b/examples/qml/dynamicscene/content/PerspectiveItem.qml @@ -52,7 +52,6 @@ Image { source: image opacity: onLand ? 1 : 0.25 scale: Math.max((y + height - 250) * 0.01, 0.3) - smooth: true onCreatedChanged: { if (created && !onLand) diff --git a/examples/qml/plugins/com/nokia/TimeExample/Clock.qml b/examples/qml/plugins/com/nokia/TimeExample/Clock.qml index eac9226a00..ee37f88f8f 100644 --- a/examples/qml/plugins/com/nokia/TimeExample/Clock.qml +++ b/examples/qml/plugins/com/nokia/TimeExample/Clock.qml @@ -54,7 +54,6 @@ Rectangle { Image { x: 92.5; y: 27 source: "hour.png" - smooth: true transform: Rotation { id: hourRotation origin.x: 7.5; origin.y: 73; @@ -68,7 +67,6 @@ Rectangle { Image { x: 93.5; y: 17 source: "minute.png" - smooth: true transform: Rotation { id: minuteRotation origin.x: 6.5; origin.y: 83; diff --git a/examples/qml/xmlhttprequest/get.qml b/examples/qml/xmlhttprequest/get.qml index 28ba078160..93ff7bafc1 100644 --- a/examples/qml/xmlhttprequest/get.qml +++ b/examples/qml/xmlhttprequest/get.qml @@ -55,7 +55,7 @@ Rectangle { anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: parent.bottom; anchors.margins: 10 width: buttonText.width + 10; height: buttonText.height + 10 border.width: mouseArea.pressed ? 2 : 1 - radius : 5; smooth: true + radius : 5; antialiasing: true Text { id: buttonText; anchors.centerIn: parent; text: "Request data.xml" } -- cgit v1.2.3