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/tutorials | |
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/tutorials')
20 files changed, 89 insertions, 89 deletions
diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml index 6ceec91..ed74c4c 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4/RemoveButton.qml @@ -81,23 +81,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4a/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4a/RemoveButton.qml index 6ddb770..7dc95c8 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4a/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/4a/RemoveButton.qml @@ -88,23 +88,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml index d712c7a..d75eedc 100644 --- a/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/1_Drawing_and_Animation/5/RemoveButton.qml @@ -76,23 +76,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml index 960b007..de9f15a 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/1/RemoveButton.qml @@ -76,23 +76,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1a/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/1a/RemoveButton.qml index 960b007..de9f15a 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/1a/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/1a/RemoveButton.qml @@ -76,23 +76,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/1b/lib/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/1b/lib/RemoveButton.qml index e7a37c2..07a0814 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/1b/lib/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/1b/lib/RemoveButton.qml @@ -78,23 +78,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: 230 } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml index affa24a..be5f871 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml @@ -83,24 +83,24 @@ Rectangle { State { name: "opened" //! [use width] - SetProperties { + PropertyChanges { target: removeButton width: removeButton.expandedWidth } //! [use width] - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml index 7957ed1..0b9c02a 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/ContactField.qml @@ -36,11 +36,11 @@ Item { State { name: "editingText" when: fieldText.state == 'editing' - SetProperties { + PropertyChanges { target: removeButton.anchors rightMargin: -35 } - SetProperties { + PropertyChanges { target: fieldText width: contactField.width } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml index 77952eb..8a9424f 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/FieldText.qml @@ -96,31 +96,31 @@ Rectangle { states: [ State { name: "editing" - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: textEdit readOnly: false } - SetProperties { + PropertyChanges { target: textEdit focus: true } - SetProperties { + PropertyChanges { target: editRegion opacity: 0 } - SetProperties { + PropertyChanges { target: textEdit.anchors leftMargin: 39 } - SetProperties { + PropertyChanges { target: textEdit.anchors rightMargin: 39 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml index 66ab36e..fc260e3 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml @@ -79,23 +79,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: removeButton.expandedWidth } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml index d637fa6..691918f 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml @@ -34,11 +34,11 @@ Item { State { name: "editingText" when: fieldText.state == 'editing' - SetProperties { + PropertyChanges { target: removeButton.anchors rightMargin: -35 } - SetProperties { + PropertyChanges { target: fieldText width: contactField.width } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml index f211213..62fb08f 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml @@ -97,31 +97,31 @@ Rectangle { states: [ State { name: "editing" - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: textEdit readOnly: false } - SetProperties { + PropertyChanges { target: textEdit focus: true } - SetProperties { + PropertyChanges { target: editRegion opacity: 0 } - SetProperties { + PropertyChanges { target: textEdit.anchors leftMargin: 39 } - SetProperties { + PropertyChanges { target: textEdit.anchors rightMargin: 39 } diff --git a/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml index ed60d00..abf8fd9 100644 --- a/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml @@ -84,23 +84,23 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton width: removeButton.expandedWidth } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml b/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml index 13e2ab1..d16e3ca 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/2/ContactView.qml @@ -73,24 +73,24 @@ Item { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: wrapper height: contactListView.height } - SetProperties { + PropertyChanges { target: contactListView explicit: true yPosition: wrapper.y } - SetProperties { + PropertyChanges { target: contactListView locked: 1 } - SetProperties { + PropertyChanges { target: label opacity: 0 } - SetProperties { + PropertyChanges { target: Details opacity: 1 } diff --git a/examples/declarative/tutorials/contacts/3_Collections/3/ContactView.qml b/examples/declarative/tutorials/contacts/3_Collections/3/ContactView.qml index eac43c7..bf73367 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/3/ContactView.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/3/ContactView.qml @@ -91,24 +91,24 @@ Item { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: wrapper height: contactListView.height } - SetProperties { + PropertyChanges { target: contactListView explicit: true yPosition: wrapper.y } - SetProperties { + PropertyChanges { target: contactListView locked: 1 } - SetProperties { + PropertyChanges { target: label opacity: 0 } - SetProperties { + PropertyChanges { target: Details opacity: 1 } diff --git a/examples/declarative/tutorials/contacts/3_Collections/lib/Button.qml b/examples/declarative/tutorials/contacts/3_Collections/lib/Button.qml index bdfc22e..476f170 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/lib/Button.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/lib/Button.qml @@ -26,7 +26,7 @@ Item { State { name: "pressed" when: buttonMouseRegion.pressed == true - SetProperties { + PropertyChanges { target: buttonRect color: "green" } diff --git a/examples/declarative/tutorials/contacts/3_Collections/lib/ContactField.qml b/examples/declarative/tutorials/contacts/3_Collections/lib/ContactField.qml index d637fa6..691918f 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/lib/ContactField.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/lib/ContactField.qml @@ -34,11 +34,11 @@ Item { State { name: "editingText" when: fieldText.state == 'editing' - SetProperties { + PropertyChanges { target: removeButton.anchors rightMargin: -35 } - SetProperties { + PropertyChanges { target: fieldText width: contactField.width } diff --git a/examples/declarative/tutorials/contacts/3_Collections/lib/FieldText.qml b/examples/declarative/tutorials/contacts/3_Collections/lib/FieldText.qml index 0dc0bf9..e05708f 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/lib/FieldText.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/lib/FieldText.qml @@ -97,31 +97,31 @@ Rectangle { states: [ State { name: "editing" - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: textEdit readOnly: false } - SetProperties { + PropertyChanges { target: textEdit focus: true } - SetProperties { + PropertyChanges { target: editRegion opacity: 0 } - SetProperties { + PropertyChanges { target: textEdit.anchors leftMargin: 39 } - SetProperties { + PropertyChanges { target: textEdit.anchors rightMargin: 39 } diff --git a/examples/declarative/tutorials/contacts/3_Collections/lib/RemoveButton.qml b/examples/declarative/tutorials/contacts/3_Collections/lib/RemoveButton.qml index af878b4..6bca8b9 100644 --- a/examples/declarative/tutorials/contacts/3_Collections/lib/RemoveButton.qml +++ b/examples/declarative/tutorials/contacts/3_Collections/lib/RemoveButton.qml @@ -82,24 +82,24 @@ Rectangle { states: [ State { name: "opened" - SetProperties { + PropertyChanges { target: removeButton explicit: true width: removeButton.expandedWidth } - SetProperties { + PropertyChanges { target: text opacity: 1 } - SetProperties { + PropertyChanges { target: confirmIcon opacity: 1 } - SetProperties { + PropertyChanges { target: cancelIcon opacity: 1 } - SetProperties { + PropertyChanges { target: trashIcon opacity: 0 } diff --git a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml index bab9f86..b652eac 100644 --- a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml +++ b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml @@ -16,7 +16,7 @@ Rectangle { State { name: "down" when: MouseRegion.pressed == true - SetProperties { + PropertyChanges { target: HelloText y: 160 color: "red" |