org::kde::plasma::components::TextField

Properties | |
bool | __effectiveRevealPasswordButtonShown |
bool | __hasBackgroundAndMargins |
var | __isPassword |
bool | clearButtonShown |
bool | errorHighlight |
string | passwordCharacter |
bool | revealPasswordButtonShown |
bool | visualFocus |
Public Member Functions | |
void | positionAt (pos) |
void | positionToRectangle (pos) |
![]() | |
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
A plasma theme based text field widget.
- Since
- 2.0
- 3.0
Definition at line 18 of file qml/TextField.qml.
Property Documentation
◆ __effectiveRevealPasswordButtonShown
|
read |
- Remarks
- This property is read-only
Definition at line 33 of file qml/TextField.qml.
◆ __hasBackgroundAndMargins
|
read |
- Remarks
- This property is read-only
Definition at line 34 of file /TextField.qml.
◆ clearButtonShown
|
read |
Whether the button to clear the text from TextField is visible.
- Since
- 5.73
- Deprecated:
- since 5.93 Use SearchField instead
Definition at line 24 of file qml/TextField.qml.
◆ errorHighlight
|
read |
Whether the text field is highlighted or not.
If it is true then the problematic lines will be highlighted.
- Warning
- Not implemented in Plasma components.
Definition at line 49 of file qml/TextField.qml.
◆ passwordCharacter
|
read |
type: string
Allows to set a custom character for password fields
- Warning
- Not implemented in Plasma components.
Definition at line 41 of file qml/TextField.qml.
◆ revealPasswordButtonShown
|
read |
Whether to show a button that allows the user to reveal the password in plain text.
This only makes sense if the echoMode is set to Password.
- Since
- 5.73
- Deprecated:
- since 5.93 Use PasswordField instead
Definition at line 30 of file qml/TextField.qml.
Member Function Documentation
◆ positionAt()
void org::kde::plasma::components::TextField::positionAt | ( | pos | ) |
DEPRECATED.
◆ positionToRectangle()
void org::kde::plasma::components::TextField::positionToRectangle | ( | pos | ) |
DEPRECATED.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:14:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.