LoginLabel < Label anchors.left: parent.left anchors.right: parent.right font: verdana-11px-antialised color: #c8c8c8 LoginTextEdit < TextEdit anchors.left: parent.left anchors.right: parent.right height: 24 padding: 4 6 0 6 font: verdana-11px-antialised LoginPasswordEdit < PasswordTextEdit anchors.left: parent.left anchors.right: parent.right height: 24 padding: 4 6 0 6 font: verdana-11px-antialised StaticMainWindow id: enterGame !text: tr('Login') size: 300 250 @onEnter: EnterGame.doLogin() LoginLabel id: accountLabel !text: tr('Account') anchors.top: parent.top LoginTextEdit id: accountNameTextEdit anchors.top: accountLabel.bottom margin-top: 4 LoginLabel id: labelPassword !text: tr('Password') anchors.top: accountNameTextEdit.bottom margin-top: 12 LoginPasswordEdit id: accountPasswordTextEdit anchors.top: labelPassword.bottom margin-top: 4 CheckBox id: rememberPasswordBox !text: tr('Remember me') !tooltip: tr('Remember account and password when the client starts') anchors.left: parent.left anchors.right: parent.right anchors.top: accountPasswordTextEdit.bottom margin-top: 12 HorizontalSeparator id: separator anchors.left: parent.left anchors.right: parent.right anchors.bottom: enterGameButton.top margin-bottom: 10 Label id: serverInfoLabel anchors.left: parent.left anchors.verticalCenter: enterGameButton.verticalCenter font: verdana-11px-antialised color: #8f8f8f text-auto-resize: true Button id: enterGameButton !text: tr('Login') width: 90 anchors.right: parent.right anchors.bottom: parent.bottom @onClick: EnterGame.doLogin()