org::kde::kirigami::PasswordField
org::kde::kirigami::PasswordField Class Reference
Inheritance diagram for org::kde::kirigami::PasswordField:

Properties | |
bool | showPassword |
![]() | |
alias | _leftActionsRow |
alias | _rightActionsRow |
alias | focusSequence |
list< QtObject > | leftActions |
list< QtObject > | rightActions |
Additional Inherited Members | |
![]() | |
accepted () | |
void | copy () |
void | cut () |
void | deselect () |
editingFinished () | |
string | getText (int start, int end) |
void | insert (int position, string text) |
bool | isRightToLeft (int start, int end) |
void | paste () |
pressAndHold (event) | |
pressed (event) | |
void | redo () |
released (event) | |
void | remove (int start, int end) |
void | select (int start, int end) |
void | selectAll () |
void | selectWord () |
void | undo () |
Detailed Description
This is a standard password text field.
Example usage:
import org.kde.kirigami 2.20 as Kirigami
Kirigami.PasswordField {
id: passwordField
onAccepted: {
// check if passwordField.text is valid
}
}
- Since
- KDE Frameworks 5.57
Definition at line 27 of file PasswordField.qml.
Property Documentation
◆ showPassword
|
read |
This property specifies whether the password will be displayed in cleartext rather than obfuscated.
default: false
- Since
- KDE Frameworks 5.57
Definition at line 36 of file PasswordField.qml.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:08:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:08:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.