2011-07-13 23:12:36 +02:00
|
|
|
%window#enterGameWindow
|
2011-04-10 23:16:24 +02:00
|
|
|
title: Enter Game
|
|
|
|
size: [236, 178]
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2011-07-17 08:56:57 +02:00
|
|
|
onLoad: self:setLocked()
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%label#accountNameLabel
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Account name
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.left: 18
|
|
|
|
margin.top: 33
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%label#passwordLabel
|
2011-04-10 23:16:24 +02:00
|
|
|
text: "Password:"
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.left: 18
|
|
|
|
margin.top: 62
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%label#createAccountLabel
|
2011-04-10 23:16:24 +02:00
|
|
|
text: |
|
2011-05-21 20:40:06 +02:00
|
|
|
If you don't have
|
|
|
|
an account yet
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.left: 18
|
|
|
|
margin.top: 87
|
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#createAccountButton
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Create Account
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.top: 94
|
|
|
|
margin.left: 132
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: displayErrorBox("Error", "Not implemented yet")
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#okButton
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Ok
|
|
|
|
size: [43, 20]
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin.bottom: 10
|
|
|
|
margin.right: 66
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: EnterGame_connectToLoginServer()
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#cancelButton
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Cancel
|
|
|
|
size: [43, 20]
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin.bottom: 10
|
|
|
|
margin.right: 13
|
2011-05-02 06:13:57 +02:00
|
|
|
onClick: self.parent:destroy()
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%textEdit#accountNameTextEdit
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.top: 32
|
|
|
|
margin.right: 18
|
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%textEdit#passwordTextEdit
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin.top: 61
|
2011-05-01 20:47:35 +02:00
|
|
|
margin.right: 18
|