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"
|
2020-06-25 08:32:08 -04:00
|
|
|
import "../../Base/ButtonLayout"
|
2019-12-07 11:24:08 -04:00
|
|
|
|
2020-06-25 08:32:08 -04:00
|
|
|
HFlickableColumnPage {
|
|
|
|
function takeFocus() { registerButton.forceActiveFocus() }
|
2019-12-07 11:24:08 -04:00
|
|
|
|
|
|
|
|
2020-06-25 08:32:08 -04:00
|
|
|
footer: ButtonLayout {
|
|
|
|
ApplyButton {
|
|
|
|
id: registerButton
|
|
|
|
text: qsTr("Register from Riot")
|
|
|
|
icon.name: "register"
|
|
|
|
onClicked: Qt.openUrlExternally("https://riot.im/app/#/register")
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
2019-12-07 11:24:08 -04:00
|
|
|
}
|
2020-06-25 08:32:08 -04:00
|
|
|
}
|
2019-12-07 11:24:08 -04:00
|
|
|
|
|
|
|
|
|
|
|
HLabel {
|
|
|
|
wrapMode: Text.Wrap
|
2020-03-10 09:03:56 -04:00
|
|
|
horizontalAlignment: Qt.AlignHCenter
|
2019-12-07 11:24:08 -04:00
|
|
|
text: qsTr(
|
2020-06-25 08:32:08 -04:00
|
|
|
"Not implemented yet\n\n" +
|
|
|
|
"You can create a new account from another client such as Riot."
|
2019-12-07 11:24:08 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
}
|
|
|
|
}
|