diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-03-02 14:54:38 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-03-02 14:54:38 (GMT) |
commit | e16b33eefa365986f8e0d26c710cb7568bf9abff (patch) | |
tree | af0ef803dd8fe2fb1a013a66f338e133173ccd10 /demos/declarative/samegame/content/Dialog.qml | |
parent | f56893bbffd5eb26dd77e56707615cbb11a26c9b (diff) | |
download | Qt-e16b33eefa365986f8e0d26c710cb7568bf9abff.zip Qt-e16b33eefa365986f8e0d26c710cb7568bf9abff.tar.gz Qt-e16b33eefa365986f8e0d26c710cb7568bf9abff.tar.bz2 |
Refactor demos
Samegame and Twitter are now trying the new naming convention.
Diffstat (limited to 'demos/declarative/samegame/content/Dialog.qml')
-rw-r--r-- | demos/declarative/samegame/content/Dialog.qml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/demos/declarative/samegame/content/Dialog.qml b/demos/declarative/samegame/content/Dialog.qml deleted file mode 100644 index 6d5d6b5..0000000 --- a/demos/declarative/samegame/content/Dialog.qml +++ /dev/null @@ -1,22 +0,0 @@ -import Qt 4.6 - -Rectangle { - id: page - function forceClose() { - page.closed(); - page.opacity = 0; - } - function show(txt) { - myText.text = txt; - page.opacity = 1; - } - signal closed(); - property Item text: myText - color: "white"; border.width: 1; width: myText.width + 20; height: myText.height + 40; - opacity: 0 - Behavior on opacity { - NumberAnimation { duration: 1000 } - } - Text { id: myText; anchors.centerIn: parent; text: "Hello World!" } - MouseArea { id: mr; anchors.fill: parent; onClicked: forceClose(); } -} |