diff options
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; } - } - ] - -} |