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.