diff options
Diffstat (limited to 'qml/keydetails.qml')
-rw-r--r-- | qml/keydetails.qml | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/qml/keydetails.qml b/qml/keydetails.qml index 29e83a6..106f6b9 100644 --- a/qml/keydetails.qml +++ b/qml/keydetails.qml @@ -1,8 +1,8 @@ import QtQuick 1.1 -Rectangle { - width: 1600 //these are the only explicit sizes set - height: 1200 //all others are relative +FocusScope { + //width: 1600 //these are the only explicit sizes set + //height: 1200 //all others are relative anchors.fill: parent @@ -85,5 +85,35 @@ Rectangle { font.pixelSize:22 } + TextField { + x: 119 + y: 155 + id: tf1 + text: "some other text" + } + + Button { + x: 246 + y: 155 + text: "ok" + onClicked: console.log("ok clicked, text: " + tf1.text) + } + + TextField { + x: 119 + y: 188 + id: tf2 + text: "some other text" + } + + Button { + x: 246 + y: 188 + text: "ok2" + onClicked: console.log("ok2: " + tf2.text) + } + + + } |