68 lines
1.5 KiB
YAML
68 lines
1.5 KiB
YAML
window#enterGameWindow
|
|
title: Enter Game
|
|
size: [236, 178]
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
onLoad: self.locked = true
|
|
|
|
label#accountNameLabel
|
|
text: Account name
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin.left: 18
|
|
margin.top: 33
|
|
|
|
label#passwordLabel
|
|
text: "Password:"
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin.left: 18
|
|
margin.top: 62
|
|
|
|
label#createAccountLabel
|
|
text: |
|
|
If you don't have
|
|
an account yet
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin.left: 18
|
|
margin.top: 87
|
|
|
|
button#createAccountButton
|
|
text: Create Account
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
margin.top: 94
|
|
margin.left: 132
|
|
onClick: messageBox("Error", "Not implemented yet")
|
|
|
|
button#okButton
|
|
text: Ok
|
|
size: [43, 20]
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
margin.bottom: 10
|
|
margin.right: 66
|
|
onClick: enterGame_onOkClicked()
|
|
|
|
button#cancelButton
|
|
text: Cancel
|
|
size: [43, 20]
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
margin.bottom: 10
|
|
margin.right: 13
|
|
onClick: self.parent:destroy()
|
|
|
|
textEdit#accountNameTextEdit
|
|
anchors.right: parent.right
|
|
anchors.top: parent.top
|
|
margin.top: 32
|
|
margin.right: 18
|
|
|
|
textEdit#passwordTextEdit
|
|
anchors.right: parent.right
|
|
anchors.top: parent.top
|
|
margin.top: 61
|
|
margin.right: 18
|