diff options
author | Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org> | 2011-03-03 17:08:53 -0300 |
---|---|---|
committer | Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org> | 2011-03-03 19:21:03 -0300 |
commit | 3d1495cc84ce8a274cbda6023d56e75de671eed9 (patch) | |
tree | 1ba120321ad648b78f63b398f05fb8eca0a99c36 /CoffeeTweed/Remove.qml | |
parent | 8943d0694a0375b23756cd47c32d70eacd8298e5 (diff) |
CoffeeTweed
Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'CoffeeTweed/Remove.qml')
-rw-r--r-- | CoffeeTweed/Remove.qml | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/CoffeeTweed/Remove.qml b/CoffeeTweed/Remove.qml deleted file mode 100644 index 66c35f1..0000000 --- a/CoffeeTweed/Remove.qml +++ /dev/null @@ -1,39 +0,0 @@ -import Qt 4.7 - -Item { - id: bt_remove - width: 188; height: 188 - - signal removeClicked - - Image { - id: bt_remove_off; - source: "images/bt_remove_off.png"; - } - - Image { - id: bt_remove_on; - source: "images/bt_remove_on.png"; - opacity: 0; - Behavior on opacity { NumberAnimation { duration: 150; } } - } - - MouseArea { - anchors.fill: parent - onPressed: { bt_remove.state = "pressed" } - onReleased: { bt_remove.state = "released"; bt_remove.removeClicked() } - - } - - states: [ - State { - name: "pressed" - PropertyChanges{ target: bt_remove_on; opacity: 1; } - }, - State { - name: "released" - PropertyChanges{ target: bt_remove_on; opacity: 0; } - } - ] - -} |