KeyPanel QML 类型

样式化键的基类型。 更多...

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

特性

详细描述

All the key delegates provided by the style should be based on this type.

特性文档编制

control : Item

提供对特性的访问在 BaseKey .

控件中的可用特性列表:

  • control.key Unicode code of the key.
  • control.text Unicode text of the key.
  • control.displayText Display text of the key.
  • control.smallText Small text of the key, usually rendered in the corner of the key.
  • control.smallTextVisible Visibility of the small text.
  • control.alternativeKeys List of alternative key sequences.
  • control.enabled Set to true when the key is enabled.
  • control.pressed Set to true when the key is currently pressed.
  • control.uppercased Set to true when the key is uppercased.

[since QtQuick.VirtualKeyboard.Styles 1.1] soundEffect : url

Sets the sound effect to be played on key press.

该特性在 QtQuick.VirtualKeyboard.Styles 1.1 引入。