diff options
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: [ |