AppTextInput

A single-line TextInput with a given placeholder text (deprecated) More...

Import Statement: import VPlayApps 1.0
Inherits:

TextInput

Properties

Detailed Description

Note: AppTextInput is deprecated, please use AppTextField instead.

AppTextInput is an extension of the basic QML TextInput for getting single-line text input from the user. For multi-line text input, use AppTextEdit.

It adds the ability to display a placeholder text, which is visible as long as the text field is empty. The placeholder text's color and text can be configured using placeholderText and placeholderColor properties.

Property Documentation

cursorColor : color

The color of the cursor that marks the current position in the text input. Matches Theme::inputCursorColor by default.

This QML property was introduced in V-Play 2.7.0.


placeHolderText : string

The text to display as placeholder, when the text field is empty.

This QML property was introduced in V-Play 2.7.0.


placeholderColor : color

The color for the placeholder text.

The default value is Theme::placeholderTextColor.

This QML property was introduced in V-Play 2.7.0.


placeholderText : alias

The text to display as placeholder, when the text field is empty.

This QML property was introduced in V-Play 2.7.0.


Videos

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support