Warning, /network/neochat/src/qml/LoginRegister.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2020 Tobias Fella <tobias.fella@kde.org>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Layouts
0006 
0007 import org.kde.kirigamiaddons.formcard as FormCard
0008 
0009 import org.kde.neochat
0010 
0011 LoginStep {
0012     id: root
0013 
0014     onActiveFocusChanged: if (activeFocus) {
0015         loginButton.forceActiveFocus(Qt.TabFocusReason);
0016     }
0017 
0018     Layout.fillWidth: true
0019 
0020     spacing: 0
0021 
0022     FormCard.FormButtonDelegate {
0023         id: loginButton
0024         text: i18nc("@action:button", "Login")
0025         onClicked: root.processed("qrc:/org/kde/neochat/qml/Login.qml")
0026     }
0027 
0028     FormCard.FormDelegateSeparator {}
0029 
0030     FormCard.FormButtonDelegate {
0031         text: i18nc("@action:button", "Register")
0032         onClicked: root.processed("qrc:/org/kde/neochat/qml/Homeserver.qml")
0033     }
0034 }