Pascaldietz (Talk | contribs) (removed private properties) |
Pascaldietz (Talk | contribs) (updated api properties of TextField) |
||
| Line 3: | Line 3: | ||
=API Properties= | =API Properties= | ||
| - | + | ;''alias'' cursorPosition | |
| - | + | :See corresponding QML TextEdit property | |
| - | ;''alias'' | + | |
| - | + | ||
| - | + | ||
| - | : | + | |
;''alias'' defaultText | ;''alias'' defaultText | ||
| - | : | + | :sets a defaultText in case the TextField is empty |
| - | + | ;''alias'' font | |
| + | :See corresponding QML TextEdit property | ||
| + | ;''alias'' readOnly | ||
| + | :Sets the text to read only. The text can't be altered if set to true | ||
| + | ;''alias'' text | ||
| + | :See corresponding QML TextEdit property | ||
| + | ;''alias'' textFormat | ||
| + | :See corresponding QML TextEdit property | ||
| + | ;''alias'' textFocus | ||
| + | :Provides access to the focus property of the TextEdit element | ||
| + | |||
=Signals= | =Signals= | ||
;textChanged | ;textChanged | ||
Contents |
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.
-
TextField {
id: textField
text: "Type here."
}