Qt 4.8
TextInput Class Reference

The TextInput item displays an editable line of text. More...

Inheritance diagram for TextInput:
Item

Detailed Description

The TextInput item displays an editable line of text.

Since
4.7

The TextInput element displays a single line of editable plain text.

TextInput is used to accept a line of text input. Input constraints can be placed on a TextInput item (for example, through a validator or inputMask ), and setting echoMode to an appropriate value enables TextInput to be used for a password input field.

On Mac OS X, the Up/Down key bindings for Home/End are explicitly disabled. If you want such bindings (on any platform), you will need to construct them in QML.

See also
TextEdit, Text, {declarative/text/textselection}{Text Selection example}

The documentation for this class was generated from the following file: