Warning, /network/neochat/src/qml/LoginStep.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.de>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003
0004 import QtQuick
0005 import QtQuick.Controls as QQC2
0006 import QtQuick.Layouts
0007
0008 /// Step for the login/registration flow
0009 ColumnLayout {
0010 id: root
0011
0012 /// Set to true if the login step does not have any controls. This will ensure that the focus remains on the "continue" button
0013 property bool noControls: false
0014
0015 /// Process this module, this is called by the continue button.
0016 /// Should call \sa processed when it finish successfully.
0017 property QQC2.Action nextAction: null
0018
0019 /// Go to the previous module. This is called by the "go back" button.
0020 /// If no "go back" button should be shown, this should be null.
0021 property QQC2.Action previousAction: null
0022
0023 /// Called when switching to the next step.
0024 signal processed(url nextUrl)
0025
0026 /// Show a message in a banner at the top of the page.
0027 signal showMessage(string message)
0028
0029 /// Clears any error messages currently being shown
0030 signal clearError
0031
0032 /// Closes the login dialog
0033 signal closeDialog
0034 }