1LoginLabel < Label
2 anchors.left: parent.left
3 anchors.right: parent.right
4 font: verdana-11px-antialised
5 color: #c8c8c8
6
7LoginTextEdit < TextEdit
8 anchors.left: parent.left
9 anchors.right: parent.right
10 height: 24
11 padding: 4 6 0 6
12 font: verdana-11px-antialised
13
14LoginPasswordEdit < PasswordTextEdit
15 anchors.left: parent.left
16 anchors.right: parent.right
17 height: 24
18 padding: 4 6 0 6
19 font: verdana-11px-antialised
20
21StaticMainWindow
22 id: enterGame
23 !text: tr('Login')
24 size: 300 250
25 @onEnter: EnterGame.doLogin()
26
27 LoginLabel
28 id: accountLabel
29 !text: tr('Account')
30 anchors.top: parent.top
31
32 LoginTextEdit
33 id: accountNameTextEdit
34 anchors.top: accountLabel.bottom
35 margin-top: 4
36
37 LoginLabel
38 id: labelPassword
39 !text: tr('Password')
40 anchors.top: accountNameTextEdit.bottom
41 margin-top: 12
42
43 LoginPasswordEdit
44 id: accountPasswordTextEdit
45 anchors.top: labelPassword.bottom
46 margin-top: 4
47
48 CheckBox
49 id: rememberPasswordBox
50 !text: tr('Remember me')
51 !tooltip: tr('Remember account and password when the client starts')
52 anchors.left: parent.left
53 anchors.right: parent.right
54 anchors.top: accountPasswordTextEdit.bottom
55 margin-top: 12
56
57 HorizontalSeparator
58 id: separator
59 anchors.left: parent.left
60 anchors.right: parent.right
61 anchors.bottom: enterGameButton.top
62 margin-bottom: 10
63
64 Label
65 id: serverInfoLabel
66 anchors.left: parent.left
67 anchors.verticalCenter: enterGameButton.verticalCenter
68 font: verdana-11px-antialised
69 color: #8f8f8f
70 text-auto-resize: true
71
72 Button
73 id: enterGameButton
74 !text: tr('Login')
75 width: 90
76 anchors.right: parent.right
77 anchors.bottom: parent.bottom
78 @onClick: EnterGame.doLogin()
79