C

InputPanel QML Type

Provides the virtual keyboard UI. More...

Import Statement: import QtQuick.VirtualKeyboard
Inherits:

Item

Properties

Detailed Description

The keyboard size is automatically calculated from the available width; that is, the keyboard maintains the aspect ratio specified by the current style. Therefore the application should only set the width and y coordinates of the InputPanel, and not the height.

InputPanel {
    id: keyboard
    width: StyleConstants.vkbScreenWidth
    y: root.height - keyboard.height
}

Note: An application can have one InputPanel instance only. The panel can be obscured by items with a higher z value.

Property Documentation

active : bool

This property reflects the active status of the input panel. The keyboard should be made visible to the user when this property is true.

By default this property value is updated by the Qt Quick Ultralite input framework. It will be set to true, for example, when some item gains input focus.


Available under certain Qt licenses.
Find out more.