ToolTip.text:qsTr("Your login name. A mxid should start with @ followed by the user id. After the user id you need to include your server name after a :.\nYou can also put your homeserver address there, if your server doesn't support .well-known lookup.\nExample: @user:server.my\nIf Nheko fails to discover your homeserver, it will show you a field to enter the server manually.")
Keys.forwardTo:[pwBtn,ssoBtn]
}
Spinner{
height:matrixIdLabel.height/2
Layout.alignment:Qt.AlignBottom
visible:running
running:login.lookingUpHs
foreground:Nheko.colors.mid
}
}
MatrixText{
textFormat:Text.PlainText
color:Nheko.theme.error
text:login.mxidError
visible:text
}
MatrixTextField{
id: passwordLabel
Layout.fillWidth:true
label:qsTr("Password")
echoMode:TextInput.Password
ToolTip.text:qsTr("Your password.")
visible:login.passwordSupported
Keys.forwardTo:[pwBtn,ssoBtn]
}
MatrixTextField{
id: deviceNameLabel
Layout.fillWidth:true
label:qsTr("Device name")
placeholderText:login.initialDeviceName()
ToolTip.text:qsTr("A name for this device, which will be shown to others, when verifying your devices. If none is provided a default is used.")
Keys.forwardTo:[pwBtn,ssoBtn]
}
MatrixTextField{
id: hsLabel
enabled:visible
visible:login.homeserverNeeded
Layout.fillWidth:true
label:qsTr("Homeserver address")
placeholderText:qsTr("server.my:8787")
text:login.homeserver
onEditingFinished:login.homeserver=text
ToolTip.text:qsTr("The address that can be used to contact you homeservers client API.\nExample: https://server.my:8787")