blob: 106f6b98fcf15bb69cfa8218d5262bef3634c298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
import QtQuick 1.1
FocusScope {
//width: 1600 //these are the only explicit sizes set
//height: 1200 //all others are relative
anchors.fill: parent
//color: "red"
Rectangle {
id: rectangle2
x: 0
y: 0
width: 1600
height: 47
color: "#99bff1"
}
Rectangle {
id: rectangle1
x: 0
y: 0
width: 107
height: 1200
color: "#978c79"
}
Text {
// qsTr() for internationalisation, like tr()
x: 118
y: 54
text: qsTr("id:")
}
Text {
x: 172
y: 54
text: id
}
Text {
id: text1
x: 118
y: 75
text: qsTr("email:")
}
Text {
id: text2
x: 172
y: 75
text: email
}
Text {
id: text3
x: 119
y: 96
text: qsTr("name:")
}
Text {
id: text4
x: 172
y: 96
text: name
}
Image {
id: image1
x: 0
y: 0
width: 107
height: 229
source: "qrc:/wizard_keys.png"
}
Text {
id: text5
x: 118
y: 7
width: 20
height: 15
text: qsTr("Keydetails")
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)
}
}
|