summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/contacts/2_Reuse/4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/tutorials/contacts/2_Reuse/4')
-rw-r--r--examples/declarative/tutorials/contacts/2_Reuse/4/ContactField.qml4
-rw-r--r--examples/declarative/tutorials/contacts/2_Reuse/4/FieldText.qml14
-rw-r--r--examples/declarative/tutorials/contacts/2_Reuse/4/RemoveButton.qml10
3 files changed, 14 insertions, 14 deletions
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
}