2011-08-14 04:09:11 +02:00
|
|
|
MainWindow
|
2011-11-02 04:02:56 +01:00
|
|
|
id: enterGame
|
2011-04-10 23:16:24 +02:00
|
|
|
title: Enter Game
|
2011-11-16 21:07:52 +01:00
|
|
|
size: 236 240
|
2011-11-17 22:41:02 +01:00
|
|
|
@onEnter: EnterGame.doLogin()
|
|
|
|
@onEscape: EnterGame.hide()
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
LargerLabel
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Account name
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-left: 18
|
|
|
|
margin-top: 28
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
LineEdit
|
|
|
|
id: accountNameLineEdit
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.left: parent.left
|
2011-07-27 01:13:27 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
|
|
|
margin-left: 18
|
|
|
|
margin-right: 18
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
LargerLabel
|
2011-07-27 01:13:27 +02:00
|
|
|
text: Password
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 8
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2011-08-30 16:25:08 +02:00
|
|
|
PasswordLineEdit
|
2011-08-14 04:09:11 +02:00
|
|
|
id: accountPasswordLineEdit
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.left: parent.left
|
2011-07-27 01:13:27 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
|
|
|
margin-left: 18
|
|
|
|
margin-right: 18
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2011-11-16 21:07:52 +01:00
|
|
|
LargerLabel
|
|
|
|
id: serverLabel
|
|
|
|
width: 140
|
|
|
|
text: Server
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 8
|
2011-11-16 21:07:52 +01:00
|
|
|
|
|
|
|
LineEdit
|
|
|
|
id: serverHostLineEdit
|
|
|
|
tooltip: Only protocol 8.62 is supported
|
|
|
|
anchors.left: serverLabel.left
|
|
|
|
anchors.right: serverLabel.right
|
|
|
|
anchors.top: serverLabel.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
2011-11-16 21:07:52 +01:00
|
|
|
|
|
|
|
LargerLabel
|
|
|
|
id: portLabel
|
|
|
|
text: Port
|
|
|
|
width: 50
|
|
|
|
anchors.left: serverLabel.right
|
|
|
|
anchors.top: serverLabel.top
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-left: 10
|
2011-11-16 21:07:52 +01:00
|
|
|
|
|
|
|
LineEdit
|
|
|
|
id: serverPortLineEdit
|
|
|
|
text: 7171
|
|
|
|
anchors.left: portLabel.left
|
|
|
|
anchors.right: portLabel.right
|
|
|
|
anchors.top: portLabel.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
2011-11-16 21:07:52 +01:00
|
|
|
|
2011-11-16 00:47:32 +01:00
|
|
|
CheckBox
|
|
|
|
id: rememberPasswordBox
|
|
|
|
text: Remember password
|
2011-11-16 19:59:55 +01:00
|
|
|
tooltip: Remember account and password when starts otclient
|
2011-11-16 00:47:32 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 10
|
|
|
|
margin-left: 18
|
|
|
|
margin-right: 18
|
2011-11-16 19:59:55 +01:00
|
|
|
@onCheckChange: |
|
|
|
|
function(self, checked)
|
|
|
|
self:getParent():getChildById('autoLoginBox'):setEnabled(checked)
|
|
|
|
end
|
2011-11-16 00:47:32 +01:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: autoLoginBox
|
2011-11-16 19:59:55 +01:00
|
|
|
enabled: false
|
2011-11-16 00:47:32 +01:00
|
|
|
text: Auto login
|
2011-11-16 19:59:55 +01:00
|
|
|
tooltip: Open charlist automatically when starting otclient
|
2011-11-16 00:47:32 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 8
|
|
|
|
margin-left: 18
|
|
|
|
margin-right: 18
|
2011-11-16 00:47:32 +01:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
Button
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Ok
|
2011-07-27 01:13:27 +02:00
|
|
|
width: 64
|
|
|
|
anchors.right: next.left
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.bottom: parent.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-bottom: 16
|
|
|
|
margin-right: 16
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: EnterGame.doLogin()
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
Button
|
2011-04-10 23:16:24 +02:00
|
|
|
text: Cancel
|
2011-07-27 01:13:27 +02:00
|
|
|
width: 64
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-bottom: 16
|
|
|
|
margin-right: 16
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: EnterGame.hide()
|