diff options
Diffstat (limited to 'qml/keydetails.qml')
-rw-r--r-- | qml/keydetails.qml | 57 |
1 files changed, 39 insertions, 18 deletions
diff --git a/qml/keydetails.qml b/qml/keydetails.qml index 7eeda02..81229df 100644 --- a/qml/keydetails.qml +++ b/qml/keydetails.qml @@ -1,68 +1,89 @@ import QtQuick 1.1 Rectangle { - width: 400 //these are the only explicit sizes set + width: 600 //these are the only explicit sizes set height: 400 //all others are relative anchors.fill: parent //color: "red" - Text { + Rectangle { + id: rectangle2 + x: 120 + y: 0 + width: 480 + height: 47 + color: "#3779d5" + } + + Rectangle { + id: rectangle1 + x: 0 + y: 0 + width: 120 + height: 400 + color: "#827968" + } + + Text { // qsTr() for internationalisation, like tr() - x: 118 - y: 37 + x: 136 + y: 54 text: qsTr("id:") } Text { - x: 172 - y: 37 + x: 190 + y: 54 text: id } Text { id: text1 - x: 118 - y: 58 + x: 136 + y: 75 text: qsTr("email:") } Text { id: text2 - x: 172 - y: 58 + x: 190 + y: 75 text: email } Text { id: text3 - x: 119 - y: 79 + x: 137 + y: 96 text: qsTr("name:") } Text { id: text4 - x: 172 - y: 79 + x: 190 + y: 96 text: name } + Image { id: image1 x: 0 y: 0 - width: 100 - height: 400 + width: 120 + height: 273 source: "qrc:/wizard_keys.png" } Text { id: text5 - x: 119 - y: 0 + x: 136 + y: 7 width: 20 height: 15 text: qsTr("Keydetails") font.pixelSize:22 } + + } |