summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/SameGame.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-02 05:03:59 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-02 05:03:59 (GMT)
commitb6e26ee808ae3ffe1c4fba03cc89baf47d65d3a8 (patch)
tree3bd183873adbdde44c4c5335c856b914ad3d476c /demos/declarative/samegame/SameGame.qml
parentc3af2cb805d1ac5f7a5a944a23dc4c4238f8f530 (diff)
parent2fc0161b46597bf64a8f88f027f3b98a021a8242 (diff)
downloadQt-b6e26ee808ae3ffe1c4fba03cc89baf47d65d3a8.zip
Qt-b6e26ee808ae3ffe1c4fba03cc89baf47d65d3a8.tar.gz
Qt-b6e26ee808ae3ffe1c4fba03cc89baf47d65d3a8.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'demos/declarative/samegame/SameGame.qml')
-rw-r--r--demos/declarative/samegame/SameGame.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml
index 0da5679..877c1cc 100644
--- a/demos/declarative/samegame/SameGame.qml
+++ b/demos/declarative/samegame/SameGame.qml
@@ -34,6 +34,19 @@ Rectangle {
}
Dialog { id: dialog; anchors.centerIn: parent; z: 21 }
+ Dialog {
+ id: scoreName; anchors.centerIn: parent; z: 22;
+ TextInput {
+ id: Editor
+ onAccepted: {
+ if(scoreName.opacity==1&&Editor.text!="")
+ sendHighScore(Editor.text);
+ scoreName.forceClose();
+ }
+ anchors.verticalCenter: parent.verticalCenter
+ x:160; width: 200; height:20; focus: true
+ }
+ }
Rectangle {
id: ToolBar