diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-02 05:03:59 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-02 05:03:59 (GMT) |
commit | b6e26ee808ae3ffe1c4fba03cc89baf47d65d3a8 (patch) | |
tree | 3bd183873adbdde44c4c5335c856b914ad3d476c /demos/declarative/samegame/SameGame.qml | |
parent | c3af2cb805d1ac5f7a5a944a23dc4c4238f8f530 (diff) | |
parent | 2fc0161b46597bf64a8f88f027f3b98a021a8242 (diff) | |
download | Qt-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.qml | 13 |
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 |