diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
commit | 08a4fffc4c93c324f95f5759c620287330c68d9d (patch) | |
tree | 4bced6b7c308f405ef021c1e006de65cfaaeaa1e /examples/declarative/listview/recipes.qml | |
parent | 1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff) | |
download | Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.zip Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.gz Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.bz2 |
Rename State change elements.
SetProperties -> PropertyChanges
RunScript -> StateChangeScript
SetAnchors -> AnchorChanges
Diffstat (limited to 'examples/declarative/listview/recipes.qml')
-rw-r--r-- | examples/declarative/listview/recipes.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml index 34cdee5..b4ad4d5 100644 --- a/examples/declarative/listview/recipes.qml +++ b/examples/declarative/listview/recipes.qml @@ -16,7 +16,7 @@ Rectangle { width: List.width // Create a property to contain the visibility of the details. // We can bind multiple element's opacity to this one property, - // rather than having a "SetProperties" line for each element we + // rather than having a "PropertyChanges" line for each element we // want to fade. property real detailsOpacity : 0 @@ -96,17 +96,17 @@ Rectangle { states: [ State { name: "Details" - SetProperties { target: background; color: "white" } + PropertyChanges { target: background; color: "white" } // Make the picture bigger - SetProperties { target: recipePic; width: 128; height: 128 } + PropertyChanges { target: recipePic; width: 128; height: 128 } // Make details visible - SetProperties { target: wrapper; detailsOpacity: 1; x: 0 } + PropertyChanges { target: wrapper; detailsOpacity: 1; x: 0 } // Make the detailed view fill the entire list area - SetProperties { target: wrapper; height: List.height } + PropertyChanges { target: wrapper; height: List.height } // Move the list so that this item is at the top. - SetProperties { target: wrapper.ListView.view; explicit: true; yPosition: wrapper.y } + PropertyChanges { target: wrapper.ListView.view; explicit: true; yPosition: wrapper.y } // Disallow flicking while we're in detailed view - SetProperties { target: wrapper.ListView.view; locked: 1 } + PropertyChanges { target: wrapper.ListView.view; locked: 1 } } ] transitions: [ |