diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-06 02:28:42 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-06 02:28:42 (GMT) |
commit | c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066 (patch) | |
tree | 34beb32ce99c5b8e23ae506756ed4ad6590c87db /demos/declarative/flickr/common/Star.qml | |
parent | dab7f1079a40a1beb5555c8ffaaf8b2c73781596 (diff) | |
download | Qt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.zip Qt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.tar.gz Qt-c3abf1a4ae82a57bbc6cc324fa6f9a99615ab066.tar.bz2 |
lowercase ids
Diffstat (limited to 'demos/declarative/flickr/common/Star.qml')
-rw-r--r-- | demos/declarative/flickr/common/Star.qml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/demos/declarative/flickr/common/Star.qml b/demos/declarative/flickr/common/Star.qml index c4d1bec..173021b 100644 --- a/demos/declarative/flickr/common/Star.qml +++ b/demos/declarative/flickr/common/Star.qml @@ -1,17 +1,16 @@ import Qt 4.6 Item { - id: Container + id: container width: 24 height: 24 property int rating property bool on - signal clicked Image { - id: StarImage + id: starImage source: "pics/ghns_star.png" x: 6 y: 7 @@ -19,15 +18,15 @@ Item { scale: 0.5 } MouseRegion { - anchors.fill: Container - onClicked: { Container.clicked() } + anchors.fill: container + onClicked: { container.clicked() } } states: [ State { name: "on" - when: Container.on == true + when: container.on == true PropertyChanges { - target: StarImage + target: starImage opacity: 1 scale: 1 x: 1 |