summaryrefslogtreecommitdiffstats
path: root/tests/auto/qactiongroup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qactiongroup')
0 files changed, 0 insertions, 0 deletions
clarative')
-rw-r--r--examples/declarative/animation/color-animation.qml6
-rw-r--r--examples/declarative/animation/property-animation.qml2
-rw-r--r--examples/declarative/progressbar/ProgressBar.qml2
-rw-r--r--examples/declarative/snow/ImageBatch.qml2
-rw-r--r--examples/declarative/snow/Loading.qml2
-rw-r--r--examples/declarative/tutorials/helloworld/tutorial3.qml2
6 files changed, 8 insertions, 8 deletions
diff --git a/examples/declarative/animation/color-animation.qml b/examples/declarative/animation/color-animation.qml
index 0cf8a44..edb0659 100644
--- a/examples/declarative/animation/color-animation.qml
+++ b/examples/declarative/animation/color-animation.qml
@@ -30,18 +30,18 @@ Item {
// the sun, moon, and stars
Item {
width: parent.width; height: 2 * parent.height
- transformOrigin: "Center"
+ transformOrigin: Item.Center
rotation: SequentialAnimation {
running: true; repeat: true
NumberAnimation { from: 0; to: 360; duration: 10000 }
}
Image {
source: "images/sun.png"; y: 10; anchors.horizontalCenter: parent.horizontalCenter
- transformOrigin: "Center"; rotation: -3 * parent.rotation
+ transformOrigin: Item.Center; rotation: -3 * parent.rotation
}
Image {
source: "images/moon.png"; y: parent.height - 74; anchors.horizontalCenter: parent.horizontalCenter
- transformOrigin: "Center"; rotation: -parent.rotation
+ transformOrigin: Item.Center; rotation: -parent.rotation
}
Particles {
x: 0; y: parent.height/2; width: parent.width; height: parent.height/2
diff --git a/examples/declarative/animation/property-animation.qml b/examples/declarative/animation/property-animation.qml
index 4e0f6f4..0256137 100644
--- a/examples/declarative/animation/property-animation.qml
+++ b/examples/declarative/animation/property-animation.qml
@@ -26,7 +26,7 @@ Item {
Image {
anchors.horizontalCenter: parent.horizontalCenter
source: "images/shadow.png"; y: smiley.minHeight + 58
- transformOrigin: "Center"
+ transformOrigin: Item.Center
// The scale property depends on the y position of the smiley face.
scale: smiley.y * 0.5 / (smiley.minHeight - smiley.maxHeight)
diff --git a/examples/declarative/progressbar/ProgressBar.qml b/examples/declarative/progressbar/ProgressBar.qml
index 48346ac..302caa9 100644
--- a/examples/declarative/progressbar/ProgressBar.qml
+++ b/examples/declarative/progressbar/ProgressBar.qml
@@ -21,7 +21,7 @@ Item {
id: highlight; radius: 2
anchors.left: parent.left; anchors.top: parent.top; anchors.bottom: parent.bottom
anchors.leftMargin: 3; anchors.topMargin: 3; anchors.bottomMargin: 3
- width: EaseFollow { source: highlight.widthDest; duration: 100 }
+ width: EaseFollow { source: highlight.widthDest; duration: 1000 }
gradient: Gradient {
GradientStop { id: g1; position: 0.0 }
GradientStop { id: g2; position: 1.0 }
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml