2019-12-19 07:46:16 -04:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
2019-12-07 11:24:08 -04:00
|
|
|
import QtQuick 2.12
|
|
|
|
import QtQuick.Layouts 1.12
|
|
|
|
import "../../Base"
|
|
|
|
|
|
|
|
HBox {
|
|
|
|
id: signInBox
|
|
|
|
clickButtonOnEnter: "ok"
|
|
|
|
|
|
|
|
buttonModel: [
|
|
|
|
{ name: "ok", text: qsTr("Register from Riot"), iconName: "register" },
|
|
|
|
]
|
|
|
|
|
|
|
|
buttonCallbacks: ({
|
|
|
|
ok: button => {
|
|
|
|
Qt.openUrlExternally("https://riot.im/app/#/register")
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
HLabel {
|
|
|
|
wrapMode: Text.Wrap
|
|
|
|
text: qsTr(
|
|
|
|
"Registering is not implemented yet. You can create a new " +
|
2019-12-08 05:30:04 -04:00
|
|
|
"account from a client that supports it, like Riot."
|
2019-12-07 11:24:08 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
|
|
}
|