Login, user in datenbank und encryption key

This commit is contained in:
2024-12-02 16:15:26 +01:00
parent 70ad4d557b
commit 5bf35ce12a
9 changed files with 309 additions and 309 deletions

View File

@@ -24,6 +24,7 @@ GridLayout
Label
{
id: benutzerNamelabel
text: qsTr("Benutzername:")
Layout.alignment: Qt.AlignRight
}
@@ -69,4 +70,17 @@ GridLayout
{
Layout.fillHeight: true
}
Component.onCompleted:
{
config.usernameNotAvailable.connect(usernameNotAvailable)
}
function usernameNotAvailable()
{
benutzerName.placeholderText = qsTr ("Benutzername ist bereits vergeben")
benutzerName.clear()
benutzerNamelabel.color = "red"
benutzerNamelabel.font.bold = true
}
}