Pascaldietz (Talk | contribs) (removed private properties) |
Pascaldietz (Talk | contribs) (updated api properties of TextEntry) |
||
| Line 3: | Line 3: | ||
=API Properties= | =API Properties= | ||
| - | ;''alias'' | + | ;''alias'' acceptableInput |
| - | : | + | :See the corresponding QML TextInput property |
| - | ;''alias'' | + | ;''alias'' cursorPosition |
| - | : | + | :See the corresponding QML TextInput property |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
;''alias'' defaultText | ;''alias'' defaultText | ||
| - | :Sets a | + | :Sets a default text in case the input is empty |
| - | + | ;''alias'' echoMode | |
| + | :See the corresponding QML TextInput property | ||
| + | ;''alias'' font | ||
| + | :Provides access to the font used for the text | ||
| + | ;''alias'' inputMask | ||
| + | :See the corresponding QML TextInput property | ||
| + | ;''alias'' inputMethodHints | ||
| + | :See the corresponding QML TextInput property | ||
| + | ;''alias'' readOnly | ||
| + | :Sets the input to read only. The text can't be altered if set to true | ||
| + | ;''alias'' text | ||
| + | :Provides access to the input text | ||
| + | ;''alias'' validator | ||
| + | :See the corresponding QML TextInput property | ||
| + | ;''alias'' textFocus | ||
| + | :Provides access to the focus property of the TextInput element. | ||
| + | |||
=Signals= | =Signals= | ||
;textChanged | ;textChanged | ||
Contents |
The TextEntry is a text entry for single lines of text. It will turn scrollable if the text is too big for the text field.
-
TextEntry {
id: textEntry
text: "Type here."
}