InputPanel QML Type

Provides the virtual keyboard UI. 更多...

import 语句: import QtQuick.VirtualKeyboard 2.2
继承: Item

特性

详细描述

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 .

就像 all other QML types provided by the module, the QT_IM_MODULE 环境变量必须被设为 qtvirtualkeyboard before using InputPanel 。更多信息,见 加载插件 .

特性文档编制

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 .

This QML property was introduced in QtQuick.VirtualKeyboard 2.0.