org::kde::kirigami::ActionTextField

Properties | |
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 advanced textfield.
It is recommended to use this class when there is a need to create a create a textfield with action buttons (e.g a clear action).
Example usage for a search field:
- Since
- 5.56
Definition at line 42 of file ActionTextField.qml.
Property Documentation
◆ focusSequence
|
read |
This property holds a shortcut sequence that will focus the text field.
- Since
- 5.56
Definition at line 48 of file ActionTextField.qml.
◆ leftActions
|
read |
This property holds a list of actions that will be displayed on the left side of the text field.
By default this list is empty.
- Since
- 5.56
Definition at line 56 of file ActionTextField.qml.
◆ rightActions
|
read |
This property holds a list of actions that will be displayed on the right side of the text field.
By default this list is empty.
- Since
- 5.56
Definition at line 64 of file ActionTextField.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 04:05:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.