summaryrefslogtreecommitdiffstats
path: root/examples/declarative/fillmode
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-28 05:19:34 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-28 05:19:34 (GMT)
commit1e7318348848ff7f51446ae90021051a494e3cb8 (patch)
tree82b4b1475c8eb16ba46fbea7b2c6cd2ed9c14cbb /examples/declarative/fillmode
parent1545a7f0e67cc125a116f0d72b81cb325a675381 (diff)
downloadQt-1e7318348848ff7f51446ae90021051a494e3cb8.zip
Qt-1e7318348848ff7f51446ae90021051a494e3cb8.tar.gz
Qt-1e7318348848ff7f51446ae90021051a494e3cb8.tar.bz2
cleanup
Diffstat (limited to 'examples/declarative/fillmode')
-rw-r--r--examples/declarative/fillmode/fillmode.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/declarative/fillmode/fillmode.qml b/examples/declarative/fillmode/fillmode.qml
index 0fdacbf..d3a28e2 100644
--- a/examples/declarative/fillmode/fillmode.qml
+++ b/examples/declarative/fillmode/fillmode.qml
@@ -7,22 +7,22 @@ Image {
fillMode: SequentialAnimation {
running: true
repeat: true
- PropertyAction { value: "Stretch" }
+ PropertyAction { value: Image.Stretch }
PropertyAction { target: label; property: "text"; value: "Stretch" }
PauseAnimation { duration: 1000 }
- PropertyAction { value: "PreserveAspectFit" }
+ PropertyAction { value: Image.PreserveAspectFit }
PropertyAction { target: label; property: "text"; value: "PreserveAspectFit" }
PauseAnimation { duration: 1000 }
- PropertyAction { value: "PreserveAspectCrop" }
+ PropertyAction { value: Image.PreserveAspectCrop }
PropertyAction { target: label; property: "text"; value: "PreserveAspectCrop" }
PauseAnimation { duration: 1000 }
- PropertyAction { value: "Tile" }
+ PropertyAction { value: Image.Tile }
PropertyAction { target: label; property: "text"; value: "Tile" }
PauseAnimation { duration: 1000 }
- PropertyAction { value: "TileHorizontally" }
+ PropertyAction { value: Image.TileHorizontally }
PropertyAction { target: label; property: "text"; value: "TileHorizontally" }
PauseAnimation { duration: 1000 }
- PropertyAction { value: "TileVertically" }
+ PropertyAction { value: Image.TileVertically }
PropertyAction { target: label; property: "text"; value: "TileVertically" }
PauseAnimation { duration: 1000 }
}
@@ -30,7 +30,7 @@ Image {
id: label
font.pointSize: 24
color: "blue"
- style: "Outline"
+ style: Text.Outline
styleColor: "white"
anchors { centerIn: parent }
}