aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-07-18 13:53:40 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-28 01:51:19 +0200
commit3912bbaceab166eb116447311eb16453e4f26edf (patch)
treeb44561b4fbded41d7011e79c3d9a5411a1de438c /examples/qml
parentc2f2ae8ce90e621cc3835428c40c116fbdc593e6 (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/qml')
-rw-r--r--examples/qml/dynamicscene/content/Button.qml2
-rw-r--r--examples/qml/dynamicscene/content/PerspectiveItem.qml1
-rw-r--r--examples/qml/plugins/com/nokia/TimeExample/Clock.qml2
-rw-r--r--examples/qml/xmlhttprequest/get.qml2
4 files changed, 2 insertions, 5 deletions
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" }