Description
The TextField is a text entry for multiple lines of text. It will turn scrollable if the text is too big for the text field.
API Properties
- string text
- The text fields text
- alias font
- The texts font item
- bool readOnly
- Sets the text read only. The text can not be altered if set to true.
- alias defaultText
- Sets a defaultText in case the TextField is emtpy
Signals
- textChanged
- Emitted when the text has changed
Functions
-
Example
TextField {
id: textField
text: "Type here."
}