summaryrefslogtreecommitdiffstats
path: root/examples/declarative/states
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:52:29 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:52:29 (GMT)
commit2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292 (patch)
treec895ba39c4fa4f48b2aad1a6c1c86fdc788700aa /examples/declarative/states
parent56f67f2fdf84fe5e7660552c52b67c4e474054dd (diff)
downloadQt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.zip
Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.gz
Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.bz2
Rename Rect.pen to Rect.border
Diffstat (limited to 'examples/declarative/states')
-rw-r--r--examples/declarative/states/states.qml6
-rw-r--r--examples/declarative/states/transitions.qml6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/states/states.qml b/examples/declarative/states/states.qml
index 431f0bc..c4c71b5 100644
--- a/examples/declarative/states/states.qml
+++ b/examples/declarative/states/states.qml
@@ -6,19 +6,19 @@ Rect {
// A target region. Clicking in here sets the state to '' - the default state
Rect {
x: 0; y: 0; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='' } }
}
// Another target region. Clicking in here sets the state to 'Position1'
Rect {
x: 150; y: 50; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='Position1' } }
}
// Another target region. Clicking in here sets the state to 'Position2'
Rect {
x: 0; y: 200; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='Position2' } }
}
// Rect which will be moved when my state changes
diff --git a/examples/declarative/states/transitions.qml b/examples/declarative/states/transitions.qml
index 7bc7f6c..63ed4d9 100644
--- a/examples/declarative/states/transitions.qml
+++ b/examples/declarative/states/transitions.qml
@@ -6,19 +6,19 @@ Rect {
// A target region. Clicking in here sets the state to '' - the default state
Rect {
x: 0; y: 0; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='' } }
}
// Another target region. Clicking in here sets the state to 'Position1'
Rect {
x: 150; y: 50; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='Position1' } }
}
// Another target region. Clicking in here sets the state to 'Position2'
Rect {
x: 0; y: 200; width: 50; height: 50
- color: "transparent"; pen.color: "black"
+ color: "transparent"; border.color: "black"
MouseRegion { anchors.fill: parent; onClicked: { Page.state='Position2' } }
}
// Rect which will be moved when my state changes