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/quick/customitems/dialcontrol/content/Dial.qml | 2 +- examples/quick/customitems/dialcontrol/content/QuitButton.qml | 1 - examples/quick/customitems/dialcontrol/dialcontrol.qml | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/quick/customitems/dialcontrol') 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" } -- cgit v1.2.3