aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/customitems
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/quick/customitems
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/quick/customitems')
-rw-r--r--examples/quick/customitems/dialcontrol/content/Dial.qml2
-rw-r--r--examples/quick/customitems/dialcontrol/content/QuitButton.qml1
-rw-r--r--examples/quick/customitems/dialcontrol/dialcontrol.qml4
-rw-r--r--examples/quick/customitems/flipable/content/Card.qml4
-rw-r--r--examples/quick/customitems/maskedmousearea/maskedmousearea.qml3
5 files changed, 5 insertions, 9 deletions
diff --git a/examples/quick/customitems/dialcontrol/content/Dial.qml b/examples/quick/customitems/dialcontrol/content/Dial.qml
index c61adee364..688bb95fea 100644
--- a/examples/quick/customitems/dialcontrol/content/Dial.qml
+++ b/examples/quick/customitems/dialcontrol/content/Dial.qml
@@ -63,7 +63,7 @@ Item {
Image {
id: needle
x: 98; y: 33
- smooth: true
+ antialiasing: true
source: "needle.png"
transform: Rotation {
id: needleRotation
diff --git a/examples/quick/customitems/dialcontrol/content/QuitButton.qml b/examples/quick/customitems/dialcontrol/content/QuitButton.qml
index 702b892d23..3fcdcf855f 100644
--- a/examples/quick/customitems/dialcontrol/content/QuitButton.qml
+++ b/examples/quick/customitems/dialcontrol/content/QuitButton.qml
@@ -42,7 +42,6 @@ import QtQuick 2.0
Image {
source: "quit.png"
scale: quitMouse.pressed ? 0.8 : 1.0
- smooth: quitMouse.pressed
MouseArea {
id: quitMouse
anchors.fill: parent
diff --git a/examples/quick/customitems/dialcontrol/dialcontrol.qml b/examples/quick/customitems/dialcontrol/dialcontrol.qml
index 467a558696..562a3c6e2a 100644
--- a/examples/quick/customitems/dialcontrol/dialcontrol.qml
+++ b/examples/quick/customitems/dialcontrol/dialcontrol.qml
@@ -67,7 +67,7 @@ Rectangle {
radius: 8
opacity: 0.7
- smooth: true
+ antialiasing: true
gradient: Gradient {
GradientStop { position: 0.0; color: "gray" }
GradientStop { position: 1.0; color: "white" }
@@ -77,7 +77,7 @@ Rectangle {
id: slider
x: 1; y: 1; width: 30; height: 14
radius: 6
- smooth: true
+ antialiasing: true
gradient: Gradient {
GradientStop { position: 0.0; color: "#424242" }
GradientStop { position: 1.0; color: "black" }
diff --git a/examples/quick/customitems/flipable/content/Card.qml b/examples/quick/customitems/flipable/content/Card.qml
index 6006ea14fc..aad177c710 100644
--- a/examples/quick/customitems/flipable/content/Card.qml
+++ b/examples/quick/customitems/flipable/content/Card.qml
@@ -51,8 +51,8 @@ Flipable {
width: front.width; height: front.height
- front: Image { id: frontImage; smooth: true }
- back: Image { source: "back.png"; smooth: true }
+ front: Image { id: frontImage }
+ back: Image { source: "back.png" }
state: "back"
diff --git a/examples/quick/customitems/maskedmousearea/maskedmousearea.qml b/examples/quick/customitems/maskedmousearea/maskedmousearea.qml
index 82d351b04f..df4c42f0da 100644
--- a/examples/quick/customitems/maskedmousearea/maskedmousearea.qml
+++ b/examples/quick/customitems/maskedmousearea/maskedmousearea.qml
@@ -58,7 +58,6 @@ Rectangle {
Image {
id: moon
- smooth: true
anchors.centerIn: parent
scale: moonArea.pressed ? 1.1 : 1.0
opacity: moonArea.containsMouse ? 1.0 : 0.7
@@ -86,7 +85,6 @@ Rectangle {
verticalCenterOffset: 30
horizontalCenterOffset: 80
}
- smooth: true
scale: rightCloudArea.pressed ? 1.1 : 1.0
opacity: rightCloudArea.containsMouse ? 1.0 : 0.7
source: Qt.resolvedUrl("images/cloud_2.png")
@@ -113,7 +111,6 @@ Rectangle {
verticalCenterOffset: 40
horizontalCenterOffset: -80
}
- smooth: true
scale: leftCloudArea.pressed ? 1.1 : 1.0
opacity: leftCloudArea.containsMouse ? 1.0 : 0.7
source: Qt.resolvedUrl("images/cloud_1.png")