2011-08-14 04:09:11 +02:00
|
|
|
MainWindow
|
2011-11-02 04:02:56 +01:00
|
|
|
id: enterGame
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('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
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Label
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Account name')
|
2011-04-10 23:16:24 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
2012-04-26 04:57:56 +02:00
|
|
|
text-auto-resize: true
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2012-03-31 15:43:01 +02:00
|
|
|
TextEdit
|
|
|
|
id: accountNameTextEdit
|
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
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Label
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Password')
|
2011-07-27 01:13:27 +02:00
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 8
|
2012-04-26 04:57:56 +02:00
|
|
|
text-auto-resize: true
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2012-03-31 15:43:01 +02:00
|
|
|
PasswordTextEdit
|
|
|
|
id: accountPasswordTextEdit
|
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
|
2011-04-10 23:16:24 +02:00
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Label
|
2011-11-16 21:07:52 +01:00
|
|
|
id: serverLabel
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Server')
|
2011-11-16 21:07:52 +01:00
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 8
|
2012-04-26 04:57:56 +02:00
|
|
|
text-auto-resize: true
|
2011-11-16 21:07:52 +01:00
|
|
|
|
2012-03-31 15:43:01 +02:00
|
|
|
TextEdit
|
|
|
|
id: serverHostTextEdit
|
2012-04-26 18:45:25 +02:00
|
|
|
!tooltip: tr('Make sure that your client uses\nthe correct game protocol version')
|
2011-11-16 21:07:52 +01:00
|
|
|
anchors.left: serverLabel.left
|
|
|
|
anchors.top: serverLabel.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
2012-04-26 04:57:56 +02:00
|
|
|
width: 140
|
2011-11-16 21:07:52 +01:00
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Label
|
2011-11-16 21:07:52 +01:00
|
|
|
id: portLabel
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Port')
|
2012-04-26 04:57:56 +02:00
|
|
|
anchors.left: serverHostTextEdit.right
|
2011-11-16 21:07:52 +01:00
|
|
|
anchors.top: serverLabel.top
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-left: 10
|
2012-04-26 04:57:56 +02:00
|
|
|
text-auto-resize: true
|
2011-11-16 21:07:52 +01:00
|
|
|
|
2012-03-31 15:43:01 +02:00
|
|
|
TextEdit
|
|
|
|
id: serverPortTextEdit
|
2011-11-16 21:07:52 +01:00
|
|
|
text: 7171
|
|
|
|
anchors.left: portLabel.left
|
|
|
|
anchors.top: portLabel.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
2012-04-26 04:57:56 +02:00
|
|
|
width: 55
|
2011-11-16 21:07:52 +01:00
|
|
|
|
2011-11-16 00:47:32 +01:00
|
|
|
CheckBox
|
|
|
|
id: rememberPasswordBox
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Remember password')
|
|
|
|
!tooltip: tr('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
|
2012-01-06 09:48:59 +01:00
|
|
|
@onCheckChange: self:getParent():getChildById('autoLoginBox'):setEnabled(self:isChecked())
|
2011-11-16 00:47:32 +01:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: autoLoginBox
|
2011-11-16 19:59:55 +01:00
|
|
|
enabled: false
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('Auto login')
|
|
|
|
!tooltip: tr('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
|
2012-01-11 13:06:50 +01:00
|
|
|
margin-top: 2
|
2011-11-16 00:47:32 +01:00
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
Button
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('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
|
2012-01-11 13:06:50 +01:00
|
|
|
margin-right: 10
|
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
|
2012-04-26 18:45:25 +02:00
|
|
|
!text: tr('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-16 00:47:32 +01:00
|
|
|
@onClick: EnterGame.hide()
|