aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/accessibility/content/Button.qml3
-rw-r--r--examples/quick/animation/easing/content/QuitButton.qml52
-rw-r--r--examples/quick/animation/easing/content/quit.pngbin583 -> 0 bytes
-rw-r--r--examples/quick/animation/easing/easing.qml7
-rw-r--r--examples/quick/animation/pathanimation/pathanimation.qml4
-rw-r--r--examples/quick/animation/pathinterpolator/pathinterpolator.qml4
-rw-r--r--examples/quick/canvas/bezierCurve/bezierCurve.qml3
-rw-r--r--examples/quick/canvas/clip/clip.qml2
-rw-r--r--examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml2
-rw-r--r--examples/quick/canvas/roundedrect/roundedrect.qml2
-rw-r--r--examples/quick/canvas/smile/smile.qml2
-rw-r--r--examples/quick/canvas/squircle/squircle.qml2
-rw-r--r--examples/quick/canvas/tiger/tiger.qml2
-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
-rw-r--r--examples/quick/imageelements/content/ImageCell.qml1
-rw-r--r--examples/quick/imageelements/content/ShadowRectangle.qml2
-rw-r--r--examples/quick/keyinteraction/focus/Core/GridMenu.qml6
-rw-r--r--examples/quick/keyinteraction/focus/Core/ListViewDelegate.qml4
-rw-r--r--examples/quick/modelviews/listview/content/TextButton.qml2
-rw-r--r--examples/quick/modelviews/parallax/content/Clock.qml3
-rw-r--r--examples/quick/modelviews/parallax/content/ParallaxView.qml1
-rw-r--r--examples/quick/modelviews/parallax/content/QuitButton.qml52
-rw-r--r--examples/quick/modelviews/pathview/pathview-example.qml2
-rw-r--r--examples/quick/shadereffects/shadereffects.qml5
-rw-r--r--examples/quick/text/fonts/hello.qml1
-rw-r--r--examples/quick/touchinteraction/flickable/content/Panel.qml2
30 files changed, 28 insertions, 152 deletions
diff --git a/examples/quick/accessibility/content/Button.qml b/examples/quick/accessibility/content/Button.qml
index f9eb5b4fab..e1f465da60 100644
--- a/examples/quick/accessibility/content/Button.qml
+++ b/examples/quick/accessibility/content/Button.qml
@@ -66,13 +66,14 @@ Rectangle {
border.width: 2
border.color: "black";
radius: 10
+ antialiasing: true
Text {
id: buttonText
text: parent.description
anchors.centerIn: parent
font.pixelSize: parent.height * .5
- style: Text.Sunken; color: "white"; styleColor: "black"; smooth: true
+ style: Text.Sunken; color: "white"; styleColor: "black"
}
MouseArea {
diff --git a/examples/quick/animation/easing/content/QuitButton.qml b/examples/quick/animation/easing/content/QuitButton.qml
deleted file mode 100644
index 702b892d23..0000000000
--- a/examples/quick/animation/easing/content/QuitButton.qml
+++ /dev/null
@@ -1,52 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-Image {
- source: "quit.png"
- scale: quitMouse.pressed ? 0.8 : 1.0
- smooth: quitMouse.pressed
- MouseArea {
- id: quitMouse
- anchors.fill: parent
- anchors.margins: -10
- onClicked: Qt.quit()
- }
-}
diff --git a/examples/quick/animation/easing/content/quit.png b/examples/quick/animation/easing/content/quit.png
deleted file mode 100644
index b822057d4e..0000000000
--- a/examples/quick/animation/easing/content/quit.png
+++ /dev/null
Binary files differ
diff --git a/examples/quick/animation/easing/easing.qml b/examples/quick/animation/easing/easing.qml
index 8977029fb3..0d7d8c347b 100644
--- a/examples/quick/animation/easing/easing.qml
+++ b/examples/quick/animation/easing/easing.qml
@@ -39,7 +39,6 @@
****************************************************************************/
import QtQuick 2.0
-import "content"
Rectangle {
id: window
@@ -104,20 +103,20 @@ Rectangle {
Rectangle {
id: slot1; color: "#121212"; x: 30; height: 46; width: 46
- border.color: "#343434"; border.width: 1; radius: 12
+ border.color: "#343434"; border.width: 1; radius: 12; antialiasing: true
anchors.verticalCenter: parent.verticalCenter
}
Rectangle {
id: slot2; color: "#121212"; x: window.width - 76; height: 46; width: 46
- border.color: "#343434"; border.width: 1; radius: 12
+ border.color: "#343434"; border.width: 1; radius: 12; antialiasing: true
anchors.verticalCenter: parent.verticalCenter
}
Rectangle {
id: rect; x: 30; color: "#454545"
border.color: "White"; border.width: 2
- height: 46; width: 46; radius: 12
+ height: 46; width: 46; radius: 12; antialiasing: true
anchors.verticalCenter: parent.verticalCenter
MouseArea {
diff --git a/examples/quick/animation/pathanimation/pathanimation.qml b/examples/quick/animation/pathanimation/pathanimation.qml
index 06c0b86970..5726a0acca 100644
--- a/examples/quick/animation/pathanimation/pathanimation.qml
+++ b/examples/quick/animation/pathanimation/pathanimation.qml
@@ -48,7 +48,7 @@ Rectangle {
Canvas {
id: canvas
anchors.fill: parent
- smooth: true
+ antialiasing: true
onPaint: {
var context = canvas.getContext("2d")
@@ -97,7 +97,7 @@ Rectangle {
x: 25; y: 25
width: 50; height: 50
border.width: 1
- smooth: true
+ antialiasing: true
Text {
anchors.centerIn: parent
diff --git a/examples/quick/animation/pathinterpolator/pathinterpolator.qml b/examples/quick/animation/pathinterpolator/pathinterpolator.qml
index 6813966015..83aead8e7e 100644
--- a/examples/quick/animation/pathinterpolator/pathinterpolator.qml
+++ b/examples/quick/animation/pathinterpolator/pathinterpolator.qml
@@ -48,7 +48,7 @@ Rectangle {
Canvas {
id: canvas
anchors.fill: parent
- smooth: true
+ antialiasing: true
onPaint: {
var context = canvas.getContext("2d")
@@ -97,7 +97,7 @@ Rectangle {
width: 50; height: 50
border.width: 1
- smooth: true
+ antialiasing: true
//bind our attributes to follow the path as progress changes
x: motionPath.x
diff --git a/examples/quick/canvas/bezierCurve/bezierCurve.qml b/examples/quick/canvas/bezierCurve/bezierCurve.qml
index 6337b12eec..a07181333f 100644
--- a/examples/quick/canvas/bezierCurve/bezierCurve.qml
+++ b/examples/quick/canvas/bezierCurve/bezierCurve.qml
@@ -63,8 +63,7 @@ Item {
property real scaleX : scaleXCtrl.value
property real scaleY : scaleYCtrl.value
property real rotate : rotateCtrl.value
- smooth:true
-
+ antialiasing: true
Behavior on scaleX { SpringAnimation { spring: 2; damping: 0.2; loops:Animation.Infinite } }
Behavior on scaleY { SpringAnimation { spring: 2; damping: 0.2; loops:Animation.Infinite} }
diff --git a/examples/quick/canvas/clip/clip.qml b/examples/quick/canvas/clip/clip.qml
index 55c7913476..c500c31aa8 100644
--- a/examples/quick/canvas/clip/clip.qml
+++ b/examples/quick/canvas/clip/clip.qml
@@ -64,7 +64,7 @@ Item {
property real py:yCtrl.value
property real alpha:alphaCtrl.value
property string imagefile:"../contents/qt-logo.png"
- smooth:true
+ antialiasing: true
Component.onCompleted:loadImage(canvas.imagefile);
onAlphaChanged:requestPaint();
diff --git a/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml b/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
index e7121c1a59..59a2eeb4ef 100644
--- a/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
+++ b/examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml
@@ -63,7 +63,7 @@ Item {
property real scaleX : scaleXCtrl.value
property real scaleY : scaleYCtrl.value
property real rotate : rotateCtrl.value
- smooth:true
+ antialiasing: true
onLineWidthChanged:requestPaint();
onFillChanged:requestPaint();
diff --git a/examples/quick/canvas/roundedrect/roundedrect.qml b/examples/quick/canvas/roundedrect/roundedrect.qml
index 568b387fd7..838820958f 100644
--- a/examples/quick/canvas/roundedrect/roundedrect.qml
+++ b/examples/quick/canvas/roundedrect/roundedrect.qml
@@ -53,7 +53,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property int radius: rCtrl.value
property int rectx: rxCtrl.value
diff --git a/examples/quick/canvas/smile/smile.qml b/examples/quick/canvas/smile/smile.qml
index 00ded9303a..43265f9cd6 100644
--- a/examples/quick/canvas/smile/smile.qml
+++ b/examples/quick/canvas/smile/smile.qml
@@ -54,7 +54,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property string strokeStyle:"green"
property string fillStyle:"yellow"
diff --git a/examples/quick/canvas/squircle/squircle.qml b/examples/quick/canvas/squircle/squircle.qml
index a102dc4286..4bcbf60411 100644
--- a/examples/quick/canvas/squircle/squircle.qml
+++ b/examples/quick/canvas/squircle/squircle.qml
@@ -59,7 +59,7 @@ Item {
id:canvas
width:320
height:250
- smooth:true
+ antialiasing: true
property string strokeStyle:"blue"
property string fillStyle:"steelblue"
diff --git a/examples/quick/canvas/tiger/tiger.qml b/examples/quick/canvas/tiger/tiger.qml
index 92fe2fe1a9..a9d291d630 100644
--- a/examples/quick/canvas/tiger/tiger.qml
+++ b/examples/quick/canvas/tiger/tiger.qml
@@ -55,7 +55,7 @@ Item {
id:canvas
width:320
height:280
- smooth:true
+ antialiasing: true
property string strokeStyle:"steelblue"
property string fillStyle:"yellow"
property bool fill:true
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")
diff --git a/examples/quick/imageelements/content/ImageCell.qml b/examples/quick/imageelements/content/ImageCell.qml
index fcc6b47af5..44242fbe05 100644
--- a/examples/quick/imageelements/content/ImageCell.qml
+++ b/examples/quick/imageelements/content/ImageCell.qml
@@ -50,7 +50,6 @@ Item {
width: parent.width; height: parent.height - captionItem.height
source: "qt-logo.png"
clip: true // only makes a difference if mode is PreserveAspectCrop
- smooth: true
}
Text {
diff --git a/examples/quick/imageelements/content/ShadowRectangle.qml b/examples/quick/imageelements/content/ShadowRectangle.qml
index 4ce8915b01..ac24f78c8f 100644
--- a/examples/quick/imageelements/content/ShadowRectangle.qml
+++ b/examples/quick/imageelements/content/ShadowRectangle.qml
@@ -48,7 +48,7 @@ Item {
anchors.fill: rectangle
anchors { leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 }
border { left: 10; top: 10; right: 10; bottom: 10 }
- source: "shadow.png"; smooth: true
+ source: "shadow.png"
}
//! [shadow]
diff --git a/examples/quick/keyinteraction/focus/Core/GridMenu.qml b/examples/quick/keyinteraction/focus/Core/GridMenu.qml
index 75bbe682af..40af6952ab 100644
--- a/examples/quick/keyinteraction/focus/Core/GridMenu.qml
+++ b/examples/quick/keyinteraction/focus/Core/GridMenu.qml
@@ -73,11 +73,11 @@ FocusScope {
Rectangle {
id: content
color: "transparent"
- smooth: true
+ antialiasing: true
anchors.fill: parent; anchors.margins: 20; radius: 10
- Rectangle { color: "#91AA9D"; anchors.fill: parent; anchors.margins: 3; radius: 8; smooth: true }
- Image { source: "images/qt-logo.png"; anchors.centerIn: parent; smooth: true }
+ Rectangle { color: "#91AA9D"; anchors.fill: parent; anchors.margins: 3; radius: 8; antialiasing: true }
+ Image { source: "images/qt-logo.png"; anchors.centerIn: parent }
}
MouseArea {
diff --git a/examples/quick/keyinteraction/focus/Core/ListViewDelegate.qml b/examples/quick/keyinteraction/focus/Core/ListViewDelegate.qml
index b28b02616d..76e91643bf 100644
--- a/examples/quick/keyinteraction/focus/Core/ListViewDelegate.qml
+++ b/examples/quick/keyinteraction/focus/Core/ListViewDelegate.qml
@@ -48,10 +48,10 @@ Item {
id: content
anchors.centerIn: parent; width: container.width - 40; height: container.height - 10
color: "transparent"
- smooth: true
+ antialiasing: true
radius: 10
- Rectangle { anchors.fill: parent; anchors.margins: 3; color: "#91AA9D"; smooth: true; radius: 8 }
+ Rectangle { anchors.fill: parent; anchors.margins: 3; color: "#91AA9D"; antialiasing: true; radius: 8 }
}
Text {
diff --git a/examples/quick/modelviews/listview/content/TextButton.qml b/examples/quick/modelviews/listview/content/TextButton.qml
index 9f0e673f8a..834bc608dd 100644
--- a/examples/quick/modelviews/listview/content/TextButton.qml
+++ b/examples/quick/modelviews/listview/content/TextButton.qml
@@ -48,7 +48,7 @@ Rectangle {
signal clicked
width: label.width + 20; height: label.height + 6
- smooth: true
+ antialiasing: true
radius: 10
gradient: Gradient {
diff --git a/examples/quick/modelviews/parallax/content/Clock.qml b/examples/quick/modelviews/parallax/content/Clock.qml
index 7f0e8cba83..9c539637a5 100644
--- a/examples/quick/modelviews/parallax/content/Clock.qml
+++ b/examples/quick/modelviews/parallax/content/Clock.qml
@@ -88,7 +88,6 @@ Item {
Image {
x: 92.5; y: 27
source: "hour.png"
- smooth: true
transform: Rotation {
id: hourRotation
origin.x: 7.5; origin.y: 73;
@@ -102,7 +101,6 @@ Item {
Image {
x: 93.5; y: 17
source: "minute.png"
- smooth: true
transform: Rotation {
id: minuteRotation
origin.x: 6.5; origin.y: 83;
@@ -116,7 +114,6 @@ Item {
Image {
x: 97.5; y: 20
source: "second.png"
- smooth: true
transform: Rotation {
id: secondRotation
origin.x: 2.5; origin.y: 80;
diff --git a/examples/quick/modelviews/parallax/content/ParallaxView.qml b/examples/quick/modelviews/parallax/content/ParallaxView.qml
index 2acf50dcef..8e7f4e455c 100644
--- a/examples/quick/modelviews/parallax/content/ParallaxView.qml
+++ b/examples/quick/modelviews/parallax/content/ParallaxView.qml
@@ -90,7 +90,6 @@ Item {
Image {
id: image
source: modelData.icon
- smooth: true
scale: 0.8
}
diff --git a/examples/quick/modelviews/parallax/content/QuitButton.qml b/examples/quick/modelviews/parallax/content/QuitButton.qml
deleted file mode 100644
index 702b892d23..0000000000
--- a/examples/quick/modelviews/parallax/content/QuitButton.qml
+++ /dev/null
@@ -1,52 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-Image {
- source: "quit.png"
- scale: quitMouse.pressed ? 0.8 : 1.0
- smooth: quitMouse.pressed
- MouseArea {
- id: quitMouse
- anchors.fill: parent
- anchors.margins: -10
- onClicked: Qt.quit()
- }
-}
diff --git a/examples/quick/modelviews/pathview/pathview-example.qml b/examples/quick/modelviews/pathview/pathview-example.qml
index 6161343830..7440710fc3 100644
--- a/examples/quick/modelviews/pathview/pathview-example.qml
+++ b/examples/quick/modelviews/pathview/pathview-example.qml
@@ -65,12 +65,10 @@ Rectangle {
id: myIcon
y: 20; anchors.horizontalCenter: parent.horizontalCenter
source: icon
- smooth: true
}
Text {
anchors { top: myIcon.bottom; horizontalCenter: parent.horizontalCenter }
text: name
- smooth: true
}
MouseArea {
diff --git a/examples/quick/shadereffects/shadereffects.qml b/examples/quick/shadereffects/shadereffects.qml
index de221e95cb..9fdbde97d5 100644
--- a/examples/quick/shadereffects/shadereffects.qml
+++ b/examples/quick/shadereffects/shadereffects.qml
@@ -82,7 +82,6 @@ Rectangle {
ShaderEffectSource {
id: theSource
sourceItem: theItem
- smooth: true
}
//! [source]
@@ -125,13 +124,11 @@ Rectangle {
width: 160
height: 140
source: "content/qt-logo.png"
- smooth: true
}
Image {
width: 160
height: 140
source: "content/face-smile.png"
- smooth: true
}
}
}
@@ -170,13 +167,11 @@ Rectangle {
height: 160
property variant source: theSource
property variant shadow: 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/quick/text/fonts/hello.qml b/examples/quick/text/fonts/hello.qml
index 024895b8b4..7cba151a95 100644
--- a/examples/quick/text/fonts/hello.qml
+++ b/examples/quick/text/fonts/hello.qml
@@ -56,7 +56,6 @@ Rectangle {
color: "white"
text: "Hello world!"
font.pixelSize: 32
- smooth: true
//! [letterspacing]
SequentialAnimation on font.letterSpacing {
diff --git a/examples/quick/touchinteraction/flickable/content/Panel.qml b/examples/quick/touchinteraction/flickable/content/Panel.qml
index c3cf9e27d9..e5179c1976 100644
--- a/examples/quick/touchinteraction/flickable/content/Panel.qml
+++ b/examples/quick/touchinteraction/flickable/content/Panel.qml
@@ -91,13 +91,11 @@ Component {
x: 8 + -width * 0.6 / 2; y: -20
source: "note-yellow.png"
scale: 0.6; transformOrigin: Item.TopLeft
- smooth: true
}
TextEdit {
id: myText
x: -104; y: 36; width: 215; height: 200
- smooth: true
font.pixelSize: 24
readOnly: false
rotation: -8