PasswordField QML Type

This is a standard password text field. More...

Import Statement: import org.kde.kirigami
Since: 5.57
Inherits:

ActionTextField

Properties

Detailed Description

Example usage:

import org.kde.kirigami as Kirigami

Kirigami.PasswordField {
    id: passwordField
    onAccepted: {
        // check if passwordField.text is valid
    }
}

Property Documentation

showPassword : bool [since 5.57]

This property tells whether the password will be displayed in cleartext rather than obfuscated.

default: false

This property was introduced in 5.57.